Ask Your Question

nvlinh's profile - activity

2015-05-18 10:07:13 -0500 received badge  Enthusiast
2015-05-09 05:24:27 -0500 received badge  Supporter (source)
2015-05-07 20:02:08 -0500 received badge  Editor (source)
2015-05-07 11:33:03 -0500 commented question Ubuntu 14.04 apt-get installation missing headers

I always install OpenCv in Ubuntu by make it by hand and install it. As I see, you install opencv by get the binary and library of opencv's files, may be it lacks sample projects for Feature Detection tutorial. I think it is better when you building it by hand.

2015-05-07 11:22:39 -0500 commented question Existing something like Microsofts How-Old by OpenCV

It is completed by two modules: gender classification and age prediction in face images. For gender classification, I think the link of berak is enough for private use, however the accuracy should be better when using in a commercial version. For face age prediction and further development, It is better that you search techniques on paper by Google scholar to get new ideas to re-implement it, OpenCv just a image processing library.

2015-05-07 11:18:33 -0500 asked a question error in build OpenCv in CentOS with v4l library

Hey all, I'm using CentOS 5.9 and trying to build OpenCv 2.4.10 for video processing. I got the error:

../../lib/ undefined reference to `cvCreateCameraCapture_V4L(int)'

This is the log of make command:

[  7%] Built target IlmImf
[  7%] Built target opencv_core_pch_dephelp
[  7%] Built target pch_Generate_opencv_core
[ 10%] Built target opencv_core
[ 10%] Built target opencv_ts_pch_dephelp
[ 10%] Built target pch_Generate_opencv_ts
[ 10%] Built target opencv_flann_pch_dephelp
[ 11%] Built target pch_Generate_opencv_flann
[ 12%] Built target opencv_flann
[ 12%] Built target opencv_imgproc_pch_dephelp
[ 12%] Built target pch_Generate_opencv_imgproc
[ 17%] Built target opencv_imgproc
[ 17%] Built target opencv_highgui_pch_dephelp
[ 17%] Built target pch_Generate_opencv_highgui
[ 19%] Built target opencv_highgui
[ 19%] Built target opencv_features2d_pch_dephelp
[ 19%] Built target pch_Generate_opencv_features2d
[ 21%] Built target opencv_features2d
[ 22%] Built target opencv_video_pch_dephelp
[ 22%] Built target pch_Generate_opencv_video
[ 23%] Built target opencv_video
[ 24%] Built target opencv_ts
[ 24%] Built target opencv_perf_core_pch_dephelp
[ 25%] Built target pch_Generate_opencv_perf_core
Linking CXX executable ../../bin/opencv_perf_core
../../lib/ undefined reference to `cvCreateCameraCapture_V4L(int)'
collect2: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_core] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: *** [all] Error 2

And this is the log of cmake with v4l on option:

-- Detected version of GNU GCC: 44 (404)
-- checking for module 'gstreamer-base-1.0'
--   package 'gstreamer-base-1.0' not found
-- checking for module 'gstreamer-video-1.0'
--   package 'gstreamer-video-1.0' not found
-- checking for module 'gstreamer-app-1.0'
--   package 'gstreamer-app-1.0' not found
-- checking for module 'gstreamer-riff-1.0'
--   package 'gstreamer-riff-1.0' not found
-- checking for module 'gstreamer-pbutils-1.0'
--   package 'gstreamer-pbutils-1.0' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "2.6.6")
-- General configuration for OpenCV 2.4.10 =====================================
--   Version control:               unknown
--   Platform:
--     Host:                        Linux 2.6.32-504.8.1.el6.x86_64 x86_64
--     CMake:             
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/gmake
--     Configuration:               RELEASE
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++  (ver 4.4.7)
--     C++ flags (Release):         -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 -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -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 -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -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 -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -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 -fdiagnostics-show-option -Wno-long-long -pthread ...