Hello. 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 (https://packages.debian.org/buster/libopencv-contrib3.2) , 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 https://github.com/opencv/opencv 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. Bye, Ricardo. 2018-08-21 6:10 GMT-03:00, Norbert Preining via shotwell-list <email@example.com>: > 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 > buildable. > > 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 > February? > > Is there any chance of porting it to opencv 3? > > Thanks > > Norbert > > -- > PREINING Norbert http://www.preining.info > Accelia Inc. + JAIST + TeX Live + Debian Developer > GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 > _______________________________________________ > shotwell-list mailing list > firstname.lastname@example.org > https://mail.gnome.org/mailman/listinfo/shotwell-list > _______________________________________________ shotwell-list mailing list email@example.com https://mail.gnome.org/mailman/listinfo/shotwell-list