¡Hola Nobuhiro!

El 2016-10-22 a las 17:22 +0900, Nobuhiro Iwamatsu escribió:
The contrib module does not provides by opencv 3.1, this module obsoleted. We need to update CMakeLists.txt of libkf5kface and use "-DENABLE_OPENCV3=ON" to flag for cmake.

Ah, good point.

CMakeLists.txt :
82 if(ENABLE_OPENCV3) 83 84 set(OPENCV_MIN_VERSION "3.0.0") 85 DETECT_OPENCV(${OPENCV_MIN_VERSION} core face highgui objdetect imgproc)

This uses the opencv_face module, I guess this mudule used to be part of the contrib one.

Anyway, the face module is not currently included in the opencv 3.1 packages.

Could you add it?

87 if(${OpenCV_FOUND}) 88 if(${OpenCV_VERSION} VERSION_LESS 3.0.0) 89 message(STATUS "ENABLE_OPENCV3 option is enabled and OpenCV < 3.0.0 have been found. Disabled ENABLE_OPENCV3") 90 set(OpenCV_FOUND FALSE) 91 endif() 92 endif() 93 94 else()

Happy hacking,
--
"If you optimize everything, you will always be unhappy."
-- Donald Knuth
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature

Reply via email to