Re: [Shotwell] My post on face recognition in shotwell

OpenCV uses the folder opencv2 to include the object oriented
definitions even in the version 3.0 . Apparently the dnn.hpp should be
in the package libopencv-contrib
( , but I'm
using right now Ubuntu 16.04 and it doesn't ship the dnn.hpp file.
Later at home I will try to compile this version of shotwell in the
last Debian.

The only advice I could give is, if you are going to compile OpenCV
from after clone the repository
checkout a label/tag or the compilation could not work. I think the
Debian version of OpenCV in repository is 2.4, and this version
doesn't contain the dnn.hpp file.


2018-08-21 6:10 GMT-03:00, Norbert Preining via shotwell-list
<shotwell-list gnome org>:
Hi Narendra,

I have written about my recent changes to shotwell face detection code and
adding face recognition to it.Face detection and recognition in shotwell ยท
Narendra Acharya

I tried to build your branch, but it somehow not really is easily

What are the actual requirements? On Debian I have libopencv-dev
installed, but that does not suffice, because
      ../facedetect/shotwell-facedetect.hpp:14:10: fatal error: opencv2/dnn.hpp:
No such file or directory
       #include <opencv2/dnn.hpp>
searching all Debian packages I couldn't find it.

My version of libopencv-dev is 3.2.0+dfsg-4.1+b1, does that mean I need
a version 2 of opencv? I guess opencv 2.4.13 as released back in

Is there any chance of porting it to opencv 3?



PREINING Norbert                     
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
shotwell-list mailing list
shotwell-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]