[Digikam-devel] [digikam] [Bug 323888] Face recognition makes digikam fill all the available memory

alexander.s.m at gmail.com alexander.s.m at gmail.com
Sun Aug 25 15:03:38 BST 2013


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

alexander.s.m at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexander.s.m at gmail.com

--- Comment #5 from alexander.s.m at gmail.com ---
Affects me as well. Arch linux, opencv 2.4.6.1

$ du -sh .kde4/share/apps/libkface/database/recognition.db                      
57M     .kde4/share/apps/libkface/database/recognition.db

Why is it so big?
$ sqlite3 ~/.kde4/share/apps/libkface/database/recognition.db 'select count(*)
from opencvlbphistograms;'
6915

I tried to delete recognition.db and run face recognition wizard with option
"Clear and rebuildall training data", and after this operation I got
recognition.db < 1MiB.
$ sqlite3 ~/.kde4/share/apps/libkface/database/recognition.db 'select count(*)
from opencvlbphistograms;'
116
And I have exactly 116 face tags.

Original 57 MiB is compressible by xz down to 2%, recreated - down to 72%.
Therefore I conclude 57MiB recognition.db had lots of duplicates.

After recreating recognition.db digikam does not concume all RAM in face
related opeartions anymore.

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



More information about the Digikam-devel mailing list