[Pkg-phototools-devel] Bug#856593: facedetect: if facedetect is installed without recommends there is a missing depends to opencv-data

Johan Haggi jh at orsobruno.net
Thu Mar 2 18:17:16 UTC 2017


Package: facedetect
Version: 0.1-1
Severity: important

I install facedetect without recomends:

facedetect    Depends    libopencv-dev
libopencv-dev Recommends opencv-data
(installed libopencv-dev, not installed opencv-data)

after I test it with fgallery:

$ fgallery -i -v -f test.fgall www.fgal bla
[...]
+ facedetect --best --center www.fgal/imgs/NKN_0767_v0_02.jpg
facedetect: error: cannot load HAAR_FRONTALFACE_ALT2 from
/usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
error: command "facedetect --best --center
www.fgal/imgs/NKN_0767_v0_02.jpg" failed

$ apt-file search haarcascade_frontalface_alt2.xml
digikam-data: /usr/share/digikam/facesengine/haarcascade_frontalface_alt2.xml
freemedforms-common-resources: /usr/share/freemedforms/textfiles/haarcascade_frontalface_alt2.xml
libkf5kface-data: /usr/share/libkface/haarcascades/haarcascade_frontalface_alt2.xml
opencv-data: /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml

# aptitude -R install opencv-data

now facedetect is OK

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages facedetect depends on:
ii  libopencv-dev  2.4.9.1+dfsg-2.2
ii  python-opencv  2.4.9.1+dfsg-2.2
pn  python:any     <none>        <<-- error of reportbug: I have python 2.7.13-2

Versions of packages facedetect recommends:
ii  imagemagick                      8:6.9.7.4+dfsg-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-1

facedetect suggests no packages.

-- no debconf information

-- 
Cura ut valeas
Johan Haggi
postridie Kalendas Martias MMDCCLXX ab Urbe condita



More information about the Pkg-phototools-devel mailing list