[Digikam-devel] [Bug 262074] no face are detected
Adam Spiers
kde-bugs at adamspiers.org
Sun Jan 30 14:41:14 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=262074
--- Comment #25 from Adam Spiers <kde-bugs adamspiers org> 2011-01-30 15:41:13 ---
(In reply to comment #24)
> > Also, the binary links
> > against libkface, but not libface - surely that is not right?
>
> Indeed - but I dont think libkface will link without libface. It's not an
> optional dependency.
So how did this happen with my build?
$ ldd /opt/digikam2/bin/digikam | grep face
libkface.so.1 => /opt/digikam2/lib64/libkface.so.1 (0x00007f078e09f000)
$ ldd /opt/digikam2/lib64/libkface.so | grep face
Here is the extract from my digikam cmake output:
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake)
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Check LibFace library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libface is not installed (install the package
which contains libface.pc if you want to support this feature)
-- Cannot find LibFace library!
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- External libface was not found, use internal version instead...
--
----------------------------------------------------------------------------------
Does the last line mean that it is automatically using the internal
version, or that I have to do something before it will use the
internal version? If so, what?
> Where are your haarcascades installed then? In
> /usr/share/opencv/(data/)haarcascades ?
Yep:
$ ls /usr/share/opencv/haarcascades
haarcascade_eye_tree_eyeglasses.xml haarcascade_mcs_eyepair_small.xml
haarcascade_eye.xml haarcascade_mcs_lefteye.xml
haarcascade_frontalface_alt2.xml haarcascade_mcs_mouth.xml
haarcascade_frontalface_alt_tree.xml haarcascade_mcs_nose.xml
haarcascade_frontalface_alt.xml haarcascade_mcs_righteye.xml
haarcascade_frontalface_default.xml haarcascade_mcs_upperbody.xml
haarcascade_fullbody.xml haarcascade_profileface.xml
haarcascade_lefteye_2splits.xml haarcascade_righteye_2splits.xml
haarcascade_lowerbody.xml haarcascade_upperbody.xml
haarcascade_mcs_eyepair_big.xml
> > Finally, this is marked as RESOLVED UPSTREAM but I can't see anywhere
> > that it has been reported upstream
>
> We mark as upstream if it is an issue we cannot fix by changing any digikam C++
> or CMake code, here it was pretty obviously a problem of installing packages
> and having files in place.
Sure - so which project is the problem with: libkface, libface, or
opencv? I checked the bug databases for all three and I couldn't see
it reported in any of them, so I am wondering if anyone else is aware
of the problem.
> I will certainly not open a bug report for a distribution which I do
> not use.
Sure - distributions are downstream not upstream, anyway. I agree
it's pointless submitting distro bugs for this OpenCV_DIR path issue,
because it is not distro-specific (I am on openSUSE 11.3, for
instance). That's why I am checking that a bug really has been filed
upstream.
Thanks for your continued help!
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list