Ask Your Question

Revision history [back]

Linux miniPC haar cascade freeze !

Hi all ! I have two mini PC: (1)Orange PI PC with arm cortex a7 and (2)Orange PI PC 2 with ARM64 cortex a53 I try to instal some version of linux (debian,armbian , ubuntu) at both devices, and install OpenCV two ways- install from compilied OPenCv from Repo and Build OPencv with Cmake .. and OPencv work fine - capture and show webcam, work all function and classes But then i try to detect Face with Haar cascades, device freeze wildly!!!!! 1 - FPS no more and LBP cascades - 3 FPS, but its soo slow!!! I do not understand what I'm doing wrong.. My Orange PI device faster than Rasberry 3, on which haar cascades work fine..

help me please !

Linux miniPC haar cascade freeze !

Hi all ! I have two mini PC: (1)Orange PI PC with arm cortex a7 and (2)Orange PI PC 2 with ARM64 cortex a53 I try to instal some version of linux (debian,armbian , ubuntu) at both devices, and install OpenCV two ways- install from compilied OPenCv from Repo and Build OPencv with Cmake .. and OPencv work fine - capture and show webcam, work all function and classes But then i try to detect Face with Haar cascades, device freeze wildly!!!!! 1 - FPS no more and LBP cascades - 3 FPS, but its soo slow!!! I do not understand what I'm doing wrong.. My Orange PI device faster than Rasberry 3, on which haar cascades work fine..

help me please !

General configuration for OpenCV 2.4.9.1 ===================================== Version control: unknown

Platform: Host: Linux 3.16.0-4-arm64 aarch64 CMake: 3.0.2 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release

C/C++: Built as dynamic libs?: YES C++ Compiler: /usr/bin/c++ (ver 4.9.2) C++ flags (Release): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG C++ flags (Debug): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O0 -DDEBUG -D_DEBUG C Compiler: /usr/bin/cc C flags (Release): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG C flags (Debug): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O0 -DDEBUG -D_DEBUG Linker flags (Release): -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now Linker flags (Debug): -Wl,-z,relro -Wl,-z,now Precompiled headers: YES

OpenCV modules: To be built: core flann imgproc highgui features2d calib3d ml objdetect video contrib legacy photo gpu java ocl python stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera dynamicuda viz

GUI: QT: NO GTK+ 2.x: YES (ver 2.24.25) GThread : YES (ver 2.42.1) GtkGlExt: YES (ver 1.2.0) OpenGL support: YES (/usr/lib/aarch64-linux-gnu/libGLU.so /usr/lib/aarch64-linux-gnu/libGL.so /usr/lib/aarch64-linux-gnu/libSM.so /usr/lib/aarch64-linux-gnu/libICE.so /usr/lib/aarch64-linux-gnu/libX11.so /usr/lib/aarch64-linux-gnu/libXext.so) VTK support: NO

Media I/O: ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.8) JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver ) PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.2.50) TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 - 4.0.3) JPEG 2000: /usr/lib/aarch64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: /usr/lib/aarch64-linux-gnu/libImath.so /usr/lib/aarch64-linux-gnu/libIlmImf.so /usr/lib/aarch64-linux-gnu/libIex.so /usr/lib/aarch64-linux-gnu/libHalf.so /usr/lib/aarch64-linux-gnu/libIlmThread.so (ver 1.6.1)

Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.3) FFMPEG: YES codec: YES (ver 56.1.0) format: YES (ver 56.1.0) util: YES (ver 54.3.0) swscale: YES (ver 3.0.0) gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: Using libv4l (ver 1.6.0) XIMEA: NO Xine: NO

Other third-party libraries: Use IPP: NO Use Eigen: YES (ver 3.2.2) Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use Cuda: NO Use OpenCL: YES

OpenCL: Version: dynamic Use AMD FFT: NO Use AMD BLAS: NO

Python: Interpreter: /usr/bin/python2 (ver 2.7.9) Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.9) numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2) packages path: lib/python2.7/dist-packages

Java: ant: /usr/bin/ant (ver 1.9.4) JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include Java tests: NO

Documentation: Build Documentation: YES Sphinx: /usr/bin/sphinx-build (ver 1.2.3) PdfLaTeX compiler: /usr/bin/pdflatex

Tests and samples: Tests: NO Performance tests: YES C/C++ Examples: YES

Install path: /usr

cvconfig.h is in: /build/opencv-trZe2N/opencv-2.4.9.1+dfsg/obj-aarch64-linux-gnu

Linux miniPC haar cascade freeze !

Hi all ! I have two mini PC: (1)Orange PI PC with arm cortex a7 and (2)Orange PI PC 2 with ARM64 cortex a53 I try to instal some version of linux (debian,armbian , ubuntu) at both devices, and install OpenCV two ways- install from compilied OPenCv from Repo and Build OPencv with Cmake .. and OPencv work fine - capture and show webcam, work all function and classes But then i try to detect Face with Haar cascades, device freeze wildly!!!!! 1 - FPS no more and LBP cascades - 3 FPS, but its soo slow!!! I do not understand what I'm doing wrong.. My Orange PI device faster than Rasberry 3, on which haar cascades work fine..

help me please !

General configuration for OpenCV 2.4.9.1 ===================================== Version control: unknown

Platform: Host: Linux 3.16.0-4-arm64 aarch64 CMake: 3.0.2 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release

C/C++: Built as dynamic libs?: YES C++ Compiler: /usr/bin/c++ (ver 4.9.2) C++ flags (Release): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG C++ flags (Debug): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O0 -DDEBUG -D_DEBUG C Compiler: /usr/bin/cc C flags (Release): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG C flags (Debug): -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g -O0 -DDEBUG -D_DEBUG Linker flags (Release): -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now Linker flags (Debug): -Wl,-z,relro -Wl,-z,now Precompiled headers: YES

OpenCV modules: To be built: core flann imgproc highgui features2d calib3d ml objdetect video contrib legacy photo gpu java ocl python stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera dynamicuda viz

GUI: QT: NO GTK+ 2.x: YES (ver 2.24.25) GThread : YES (ver 2.42.1) GtkGlExt: YES (ver 1.2.0) OpenGL support: YES (/usr/lib/aarch64-linux-gnu/libGLU.so /usr/lib/aarch64-linux-gnu/libGL.so /usr/lib/aarch64-linux-gnu/libSM.so /usr/lib/aarch64-linux-gnu/libICE.so /usr/lib/aarch64-linux-gnu/libX11.so /usr/lib/aarch64-linux-gnu/libXext.so) VTK support: NO

Media I/O: ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.8) JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver ) PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.2.50) TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 - 4.0.3) JPEG 2000: /usr/lib/aarch64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: /usr/lib/aarch64-linux-gnu/libImath.so /usr/lib/aarch64-linux-gnu/libIlmImf.so /usr/lib/aarch64-linux-gnu/libIex.so /usr/lib/aarch64-linux-gnu/libHalf.so /usr/lib/aarch64-linux-gnu/libIlmThread.so (ver 1.6.1)

Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.3) FFMPEG: YES codec: YES (ver 56.1.0) format: YES (ver 56.1.0) util: YES (ver 54.3.0) swscale: YES (ver 3.0.0) gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: Using libv4l (ver 1.6.0) XIMEA: NO Xine: NO

Other third-party libraries: Use IPP: NO Use Eigen: YES (ver 3.2.2) Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use Cuda: NO Use OpenCL: YES

OpenCL: Version: dynamic Use AMD FFT: NO Use AMD BLAS: NO

Python: Interpreter: /usr/bin/python2 (ver 2.7.9) Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.9) numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2) packages path: lib/python2.7/dist-packages

Java: ant: /usr/bin/ant (ver 1.9.4) JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include Java tests: NO

Documentation: Build Documentation: YES Sphinx: /usr/bin/sphinx-build (ver 1.2.3) PdfLaTeX compiler: /usr/bin/pdflatex

Tests and samples: Tests: NO Performance tests: YES C/C++ Examples: YES

Install path: /usr

cvconfig.h is in: /build/opencv-trZe2N/opencv-2.4.9.1+dfsg/obj-aarch64-linux-gnu

Linux miniPC haar cascade freeze !

Hi all ! I have two mini PC: (1)Orange PI PC with arm cortex a7 and (2)Orange PI PC 2 with ARM64 cortex a53 I try to instal some version of linux (debian,armbian , ubuntu) at both devices, and install OpenCV two ways- install from compilied OPenCv from Repo and Build OPencv with Cmake .. and OPencv work fine - capture and show webcam, work all function and classes But then i try to detect Face with Haar cascades, device freeze wildly!!!!! 1 - FPS no more and LBP cascades - 3 FPS, but its soo slow!!! I do not understand what I'm doing wrong.. My Orange PI device faster than Rasberry 3, on which haar cascades work fine..

help me please !

General configuration for OpenCV 2.4.9.1 ===================================== Version control: unknown

Platform: Host: Linux 3.16.0-4-arm64 aarch64 CMake: 3.0.2 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release

Linker flags (Release):      -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now
Linker flags (Debug):        -Wl,-z,relro -Wl,-z,now
Precompiled headers:         YES

OpenCV modules: To be built: core flann imgproc highgui features2d calib3d ml objdetect video contrib legacy photo gpu java ocl python stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera dynamicuda viz

GUI: QT: NO GTK+ 2.x: YES (ver 2.24.25) GThread : YES (ver 2.42.1) GtkGlExt: YES (ver 1.2.0) OpenGL support: YES (/usr/lib/aarch64-linux-gnu/libGLU.so /usr/lib/aarch64-linux-gnu/libGL.so /usr/lib/aarch64-linux-gnu/libSM.so /usr/lib/aarch64-linux-gnu/libICE.so /usr/lib/aarch64-linux-gnu/libX11.so /usr/lib/aarch64-linux-gnu/libXext.so) VTK support: NO

Media I/O: ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.8) JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver ) PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.2.50) TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 - 4.0.3) JPEG 2000: /usr/lib/aarch64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: /usr/lib/aarch64-linux-gnu/libImath.so /usr/lib/aarch64-linux-gnu/libIlmImf.so /usr/lib/aarch64-linux-gnu/libIex.so /usr/lib/aarch64-linux-gnu/libHalf.so /usr/lib/aarch64-linux-gnu/libIlmThread.so (ver 1.6.1)

Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.3) FFMPEG: YES codec: YES (ver 56.1.0) format: YES (ver 56.1.0) util: YES (ver 54.3.0) swscale: YES (ver 3.0.0) gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: Using libv4l (ver 1.6.0) XIMEA: NO Xine: NO

Other third-party libraries: Use IPP: NO Use Eigen: YES (ver 3.2.2) Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use Cuda: NO Use OpenCL: YES

OpenCL: Version: dynamic Use AMD FFT: NO Use AMD BLAS: NO

Python: Interpreter: /usr/bin/python2 (ver 2.7.9) Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.9) numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2) packages path: lib/python2.7/dist-packages

Java: ant: /usr/bin/ant (ver 1.9.4) JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include Java tests: NO

Documentation: Build Documentation: YES Sphinx: /usr/bin/sphinx-build (ver 1.2.3) PdfLaTeX compiler: /usr/bin/pdflatex

Tests and samples: Tests: NO Performance tests: YES C/C++ Examples: YES

Install path: /usr

cvconfig.h is in: /build/opencv-trZe2N/opencv-2.4.9.1+dfsg/obj-aarch64-linux-gnu

Linux miniPC haar cascade freeze !

Hi all ! I have two mini PC: (1)Orange PI PC with arm cortex a7 and (2)Orange PI PC 2 with ARM64 cortex a53 I try to instal some version of linux (debian,armbian , ubuntu) at both devices, and install OpenCV two ways- install from compilied OPenCv from Repo and Build OPencv with Cmake .. and OPencv work fine - capture and show webcam, work all function and classes But then i try to detect Face with Haar cascades, device freeze wildly!!!!! 1 - FPS no more and LBP cascades - 3 FPS, but its soo slow!!! I do not understand what I'm doing wrong.. My Orange PI device faster than Rasberry 3, on which haar cascades work fine..

help me please !

General configuration for OpenCV 2.4.9.1 =====================================
Version control: unknown

unknown Platform: Host: Linux 3.16.0-4-arm64 aarch64 CMake: 3.0.2 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release

Release
Linker flags (Release): -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now
 Linker flags (Debug): -Wl,-z,relro -Wl,-z,now
 Precompiled headers: YES

OpenCV modules: To be built: core flann imgproc highgui features2d calib3d ml objdetect video contrib legacy photo gpu java ocl python stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera dynamicuda viz

viz GUI: QT: NO GTK+ 2.x: YES (ver 2.24.25) GThread : YES (ver 2.42.1) GtkGlExt: YES (ver 1.2.0) OpenGL support: YES (/usr/lib/aarch64-linux-gnu/libGLU.so /usr/lib/aarch64-linux-gnu/libGL.so /usr/lib/aarch64-linux-gnu/libSM.so /usr/lib/aarch64-linux-gnu/libICE.so /usr/lib/aarch64-linux-gnu/libX11.so /usr/lib/aarch64-linux-gnu/libXext.so) VTK support: NO

NO Media I/O: ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.8) JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver ) PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.2.50) TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 - 4.0.3) JPEG 2000: /usr/lib/aarch64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: /usr/lib/aarch64-linux-gnu/libImath.so /usr/lib/aarch64-linux-gnu/libIlmImf.so /usr/lib/aarch64-linux-gnu/libIex.so /usr/lib/aarch64-linux-gnu/libHalf.so /usr/lib/aarch64-linux-gnu/libIlmThread.so (ver 1.6.1)

1.6.1) Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.3) FFMPEG: YES codec: YES (ver 56.1.0) format: YES (ver 56.1.0) util: YES (ver 54.3.0) swscale: YES (ver 3.0.0) gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: Using libv4l (ver 1.6.0) XIMEA: NO Xine: NO

NO Other third-party libraries: Use IPP: NO Use Eigen: YES (ver 3.2.2) Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use Cuda: NO Use OpenCL: YES

YES OpenCL: Version: dynamic Use AMD FFT: NO Use AMD BLAS: NO

NO Python: Interpreter: /usr/bin/python2 (ver 2.7.9) Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.9) numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2) packages path: lib/python2.7/dist-packages

lib/python2.7/dist-packages Java: ant: /usr/bin/ant (ver 1.9.4) JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include Java tests: NO

NO Documentation: Build Documentation: YES Sphinx: /usr/bin/sphinx-build (ver 1.2.3) PdfLaTeX compiler: /usr/bin/pdflatex

/usr/bin/pdflatex Tests and samples: Tests: NO Performance tests: YES C/C++ Examples: YES

YES Install path: /usr

/usr cvconfig.h is in: /build/opencv-trZe2N/opencv-2.4.9.1+dfsg/obj-aarch64-linux-gnu

/build/opencv-trZe2N/opencv-2.4.9.1+dfsg/obj-aarch64-linux-gnu