[Digikam-devel] libface CMake change

Gilles Caulier caulier.gilles at gmail.com
Sat Jun 26 16:14:01 BST 2010


2010/6/26 Aditya Bhatt <adityabhatt1991 at gmail.com>:
> Hi Michael,
>
>
>> >
>> > I just tried compiling libface and libkface. Here are some comments:
>> >
>> > - The libface website states 'you need FindOpenCV.cmake'. Where do you
>> > get it? I just used the one from kipi-plugins, but that one must be the
>> > wrong one, as it defines OpenCV_LIBRARIES and libface looks for
>> > OpenCV_LIBS. The same applies to libkface. Would it be possible to
>> > include FindOpenCV.cmake in lib(k)face, as is done in kipi-plugins?
>> >
>
> OpenCV 2.1 (which has been out since several months now, I think) comes with
> FindOpenCV.cmake. What Alex wrote on the website refers to that.
>
>>
>> > - I ran libfaceGUI from libkface. When I load an image and hit "Detect
>> > faces", nothing happens but on the console I get:
>> >
>> > Chosen area : 500000
>> > Minimum FaceSize is 35
>> > ERROR: Could not load classifier cascade.
>> > Minimum FaceSize is 35
>> > ERROR: Could not load classifier cascade.
>> > Total Time taken : 0.000000 secs.
>> > Making long vector took: 0.000000 sec.
>> > Faces parsed : 0, number of final faces : 0
>> > Prunning took: 0.000000 sec.
>> > ERROR: Could not load classifier cascade.
>> > libkface detected : 0
>> >
>
> Gilles reported the same problem to me a few days back. It looks like you're
> using Mandriva. Mandriva (unlike most other distros) ships OpenCV split into
> multiple packages. You probably need to install a package named something
> like "opencv-samples".

This must be annoted to README file for the future..

Gilles



More information about the Digikam-devel mailing list