Hi Michael, <div><br></div><div><br></div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">><br>
> I just tried compiling libface and libkface. Here are some comments:<br>
><br>
> - The libface website states 'you need FindOpenCV.cmake'. Where do you<br>
> get it? I just used the one from kipi-plugins, but that one must be the<br>
> wrong one, as it defines OpenCV_LIBRARIES and libface looks for<br>
> OpenCV_LIBS. The same applies to libkface. Would it be possible to<br>
> include FindOpenCV.cmake in lib(k)face, as is done in kipi-plugins?<br>
><br></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
> - I ran libfaceGUI from libkface. When I load an image and hit "Detect<br>
> faces", nothing happens but on the console I get:<br>
><br>
> Chosen area : 500000<br>
> Minimum FaceSize is 35<br>
> ERROR: Could not load classifier cascade.<br>
> Minimum FaceSize is 35<br>
> ERROR: Could not load classifier cascade.<br>
> Total Time taken : 0.000000 secs.<br>
> Making long vector took: 0.000000 sec.<br>
> Faces parsed : 0, number of final faces : 0<br>
> Prunning took: 0.000000 sec.<br>
> ERROR: Could not load classifier cascade.<br>
> libkface detected : 0<br>
><br></div></div></blockquote><div><br></div><div>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".</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
> - libface only recognises CMAKE_BUILD_TYPE=Debug, but not debugfull<br>
> which is also listed here:<br>
> <a href="http://techbase.kde.org/Development/CMake/Addons_for_KDE" target="_blank">http://techbase.kde.org/Development/CMake/Addons_for_KDE</a><br>
><br>
> Would be nice if both were detected, then I don't have to add special<br>
> flags in kdesvn-build for libface.<br>
><br>
> Greetings,<br>
><br>
> Michael<br>
><br></div></div></blockquote><div><br></div><div> Ok. I'll try to fix it. But I'm not very knowledgeable about CMake configuring, can you tell me what to do?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5">--<br>
Michael Hansen - <a href="mailto:mike@mghansen.de">mike@mghansen.de</a><br>
<a href="http://www.pfna.de/" target="_blank">http://www.pfna.de/</a><br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Aditya Bhatt<br>Blog : <a href="http://adityabhatt.wordpress.com">http://adityabhatt.wordpress.com</a><br>Bitbucket: <a href="http://bitbucket.org/aditya_bhatt">http://bitbucket.org/aditya_bhatt</a><br>
Face Recognition Library : <a href="http://libface.sourceforge.net">http://libface.sourceforge.net</a><br>
</div>