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

Alex alexjironkin at gmail.com
Wed Mar 9 09:05:41 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=267789





--- Comment #16 from Alex <alexjironkin gmail com>  2011-03-09 10:05:34 ---
In the 0.1 version of libface there is a memory leak in detection, I think it
will get more noticeable once you have you start going through a lot of faces.
There is also a trick one can/has to do when dealing with the vector of faces
from detection. Although the actual objects are stored in that array, they need
to be accessed using pointers. Otherwise there when the Face/KFace class
retrieved and destroyed in the local scope the Pointer to the actual data in
the class will be released and later down the line it will segfault. I haven't
figured if I should change from vector of Face's to vector of pointers to
faces.


Alex

On 8 Mar 2011, at 20:03, Marcel Wiesweg wrote:

> https://bugs.kde.org/show_bug.cgi?id=267789
> 
> 
> 
> 
> 
> --- Comment #13 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-03-08 21:03:11 ---
> Face detection does not use memory if you dont need it.
> There have been memory issues with marble, did not benchmark with 4.6 yet.
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.

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

-- 
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