I want to practice how to make facial recognition software in java swing. Thank you.
1 | initial version |
I want to practice how to make facial recognition software in java swing. Thank you.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
I did this:
Then this:
General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
CMake generator: Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
The only way that visual studio does not generate error, is when I do not include the path of the modules.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
I did this:
Then this:
General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
CMake generator: Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
Java: **Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES
YES**
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
It generates error in many c ++ files. Why?
The only way that visual studio does not generate error, is when I do not include the path of the modules.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
CMake generator: Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
**Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES**
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
It generates error in many c ++ files. Why? for example: lack ';' in front of opencv_plot ':'
The only way that visual studio does not generate error, is when I do not include the path of the modules.
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
CMake generator: Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
**Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES**
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
It generates error in many c ++ files. Why? for example: lack ';' in front of opencv_plot ':'
The only way that visual studio does not generate error, is when I do not include the path of the modules.
I just tried with version 3.3 of opencv and opencv_contrib, but I get 4860 errors.
Severity Code Description Project File Line Status suppressed
Error C2079 'CV_FINAL' uses class 'cv :: plot :: Plot2dImpl' without defining opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
CMake generator: Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
**Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES**
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
It generates error in many c ++ files. Why? for example: lack ';' in front of opencv_plot ':'
The only way that visual studio does not generate error, is when I do not include the path of the modules.
I just tried with version 3.3 of opencv and opencv_contrib, but I get 4860 errors.
Severity Code Description Project File Line Status suppressed
Error C2079 'CV_FINAL' uses class 'cv :: plot :: Plot2dImpl' without defining opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
and many more errors
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I want to practice how to make facial recognition software in java swing. Thank you.
General configuration for OpenCV am testing the latest versions of opencv and opencv_contrib, but I have errors 2279. I downloaded opencv from https://github.com/opencv/opencv/tree/3.4.1
I downloaded opencv_contrib from https://github.com/opencv/opencv_contrib
I have opencv
3.4.1 =====================================
Version control: unknown
Extra modules:
Location (extra): C:/opencv/opencv_contrib-master/modules
Version control (extra): unknown
Platform:
Timestamp: 2018-04-09T15:18:06Z
Host: Windows 10.0.10240 AMD64
CMake: 3.11.0
in the path C: /opencv/opencv-3.4.1 and the path of the opencv_contrib modules is C: \ opencv \ opencv_contrib-master \ modules After clicking on the Generate button of
CMake generator: GUI, I clicked on the Open Project button that is in CMake on the right side of the Generate button. After clicking on the Generate button of CMake GUI, I clicked on the Open Project button that is in CMake on the right side of the Generate button and
Visual Studio 15 2017
CMake build tool: C:/Program Files (x86)/Microsoft 2017 was opened with the project generated by CMake. Then in the Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
MSVC: 1913
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX
requested: SSE4_1 SSE4_2 AVX FP16
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
C/C++:
Built as dynamic libs?: YES
C++11: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Studio file browser, in the CMakeTargets folder I right click on the ALL_BUILD file and then click on Compile. Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe (ver 19.13.26129.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MD /O2 /Ob2 /DNDEBUG
C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /arch:SSE /arch:SSE2 /MP8 /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /machine:X86 /INCREMENTAL:NO
Linker flags (Debug): /machine:X86 /debug /INCREMENTAL
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow Studio was in Debug and Win32 mode by default. First:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \
phase_unwrapping photo \ src \ histogramphaseunwrapping.cpp 54
Second:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \ phase_unwrapping \ src \ histogramphaseunwrapping.cpp 58
Third:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \ phase_unwrapping \ src \ histogramphaseunwrapping.cpp 60
Fourth:
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error C2079 'CV_FINAL' utiliza class 'cv::plot::Plot2dImpl' sin definir opencv_plot c:\opencv\opencv_contrib-master\modules\plot\src\plot.cpp 56
Fifth
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of ':' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries:
Intel IPP: 2017.0.3 [2017.0.3]
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippicv_win
Intel IPP IW: sources (2017.0.3)
at: C:/opencv/my_opencv_build/3rdparty/ippicv/ippiw_win
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: C:/opencv/opencv-3.4.1-vc14_vc15/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): C:/Program Files/Python36/python.exe
**Java:
ant: C:/ANT/bin/ant.bat (ver 1.10.3)
JNI: C:/Program Files/Java/jdk1.8.0_77/include C:/Program Files/Java/jdk1.8.0_77/include/win32 C:/Program Files/Java/jdk1.8.0_77/include
Java wrappers: YES
Java tests: YES**
Matlab: NO
Install to: C:/opencv/my_opencv_build/install
-----------------------------------------------------------------
Configuring done
Generating done
Then, I opened OpenCV.sln with visual Studio 2017
But I get these errors after do click in building:
It generates error in many c ++ files. Why?
for example:
lack \ src \ plot.cpp 56
Sixth: Seventh: EighthSeverity Code Description Project File Line Status suppressed
Error C2059 syntax error: ':' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: 'public' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
';' in front of '{' opencv_plot Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing
':'
The only way that visual studio does not generate error, c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 57
Nineth:
is Severity Code Description Project File Line Status suppressed
Error C2447 '{': the function header
when I do not include the path of the modules.
I just tried with version 3.3 of opencv and opencv_contrib, but I get 4860 errors.
Severity Code Description Project File Line Status suppressed
Error C2079 'CV_FINAL' uses class missing (formal list of previous style?) Opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 57
Tenth:
Severity Code Description Project File Line Status suppressed
Error C2027 use of the type 'cv :: plot :: Plot2dImpl' without defining opencv_plot c: \ opencv \ opencv_contrib_master opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: ':' opencv_plot c: \ opencv \ opencv_contrib_master \ modules \ plot \ src \ plot.cpp 56
and many more errors465
etc etc etc
.
.
.
.
Up to 2279 errors in different .cpp files Here is a text file where I show the visual studio output.
https://drive.google.com/file/d/1Plk4cdpxDHEs3pOod494f0aYyVIu-IOK/view?usp=sharing