[Digikam-devel] [digikam] [Bug 323888] Face recognition makes digikam fill all the available memory (Qt SQlite plugin relevant)

Gilles Caulier caulier.gilles at gmail.com
Mon Aug 11 12:30:59 BST 2014


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

--- Comment #94 from Gilles Caulier <caulier.gilles at gmail.com> ---
I can details more some technicals stuff here :

- Face detection store region of image with face in main digiKam database. This
point mangle memory.

- Face recognition is another algorithm which store face histograms in a
dedicated database (the famous file that you have deleted). Recognition with
previous version crash digiKam, but do not mangle memory. This is due to wrong
storage of histogram data in database blob, and some incompatibility with
previous OpenCV version which compute histogram. Removing this database will
prevent crash. With 4.2.0, histograms generated will be done in a more secure
way. I also add more protection in code to prevent wrong context. 

So, this entry is about face detection only.

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list