[Digikam-devel] Re: [Bug 267789] Make face detection (kface) and geo tagging (kmap) optional features

Alex Jironkin alexjironkin at gmail.com
Fri Mar 11 12:13:12 GMT 2011


Yeah I just noticed that I didnlt update the internal version of libface. I will pull out the best SVN version shortly and add it to the libkface
On 11 Mar 2011, at 11:47, Gilles Caulier wrote:

> https://bugs.kde.org/show_bug.cgi?id=267789
> 
> 
> 
> 
> 
> --- Comment #26 from Gilles Caulier <caulier gilles gmail com>  2011-03-11 12:47:13 ---
> Alex,
> 
> Here, i don't have installed libface 0.2.0 on my computer. So libkface compile
> with internal version :
> 
> Scanning dependencies of target kface
> [  5%] Building CXX object
> extra/libkface/libkface/CMakeFiles/kface.dir/database.cpp.o                     
> /mnt/data/Devel/GIT/2.x/extra/libkface/libkface/database.cpp: In member
> function 'QList<KFaceIface::Face> KFaceIface::Database::detectFaces(const
> KFaceIface::Image&)':
> /mnt/data/Devel/GIT/2.x/extra/libkface/libkface/database.cpp:184: error: no
> matching function for call to 'libface::LibFace::detectFaces(const IplImage*&)'
> /mnt/data/Devel/GIT/2.x/extra/libkface/libface/LibFace.h:85: note: candidates
> are: std::vector<libface::Face, std::allocator<libface::Face> >
> libface::LibFace::detectFaces(const IplImage*, const CvSize&)
> /mnt/data/Devel/GIT/2.x/extra/libkface/libface/LibFace.h:100: note:            
>    std::vector<libface::Face, std::allocator<libface::Face> >
> libface::LibFace::detectFaces(const std::string&, int)
> /mnt/data/Devel/GIT/2.x/extra/libkface/libface/LibFace.h:101: note:            
>    std::vector<libface::Face, std::allocator<libface::Face> >
> libface::LibFace::detectFaces(const char*, int, int, int, int, int, int)
> /mnt/data/Devel/GIT/2.x/extra/libkface/libkface/database.cpp: In member
> function 'QList<double>
> KFaceIface::Database::recognizeFaces(QList<KFaceIface::Face>&)':
> /mnt/data/Devel/GIT/2.x/extra/libkface/libkface/database.cpp:272: error: no
> match for 'operator=' in 'result =
> libface::LibFace::recognise(std::vector<libface::Face,
> std::allocator<libface::Face> >*, int)((& faceVec), 1)'
> /usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/../../../../include/c++/4.4.3/bits/vector.tcc:156:
> note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp,
> _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<int,
> float>, _Alloc = std::allocator<std::pair<int, float> >]
> make[2]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/database.cpp.o]
> Error 1
> make[1]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/all] Error 2
> make: *** [all] Error 2
> 
> Gilles Caulier
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel

If we knew what we were doing, it wouldn't be called research, would it?
-- Albert Einstein






More information about the Digikam-devel mailing list