Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to compile opencv and opencv_contrib with the face recognition modules "faces"?

Good morning, I was reading here and here to compile opencv and opencv_contrib and all modules.

I Use windows 10 x 64 bit. I installed Visual Studio 2017 Professional. I installed CMake 3.11.0. I downloaded opencv from Aqui.

The steps I took are: 1. cd C:\opencv\build

  1. cmake -DOPENCV_EXTRA_MODULES_PATH=C:\opencv\opencv_contrib\modules C:\opencv\opencv\sources

  2. The function make -j5 It does not work for me.
    Else I did it as shown in the image. Here

3.1 cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin>

and execute

3.2 MSBuild /m C:\opencv\build\OpenCV.sln /t:Build /p:Configuration=Release /v:m

But I have a series of problems.

this article say that Besides all this will create a jar containing the Java interface (bin/opencv-244.jar) and a native dynamic library containing Java bindings and all the OpenCV stuff (lib/libopencv_java244.so or bin/Release/opencv_java244.dll respectively). We'll use these files later.

opencv-341.jar If it was created, but opencv_java341.dll It was not created. image description

Thanks for help me!

How to compile opencv and opencv_contrib with the face recognition modules "faces"?

Good morning, I was reading here and here to compile opencv and opencv_contrib and all modules.

I Use windows 10 x 64 bit. I installed Visual Studio 2017 Professional. I installed CMake 3.11.0. I downloaded opencv from Aqui.

The steps I took are: 1. cd C:\opencv\build

  1. cmake -DOPENCV_EXTRA_MODULES_PATH=C:\opencv\opencv_contrib\modules C:\opencv\opencv\sources

  2. The function make -j5 It does not work for me.
    Else I did it as shown in the image. Hereimage.

3.1 cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin>

and execute

3.2 MSBuild /m C:\opencv\build\OpenCV.sln /t:Build /p:Configuration=Release /v:m

But I have a series of problems.

this article say that Besides all this will create a jar containing the Java interface (bin/opencv-244.jar) and a native dynamic library containing Java bindings and all the OpenCV stuff (lib/libopencv_java244.so or bin/Release/opencv_java244.dll respectively). We'll use these files later.

opencv-341.jar If it was created, but opencv_java341.dll It was not created. image descriptioncreated.

Thanks for help me!