[Digikam-devel] [Bug 259146] New: libface doesn't learn new faces
Teemu Autto
teemu at rautakuu.org
Tue Dec 7 16:44:23 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=259146
Summary: libface doesn't learn new faces
Product: digikam
Version: 2.0.0
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: libkface
AssignedTo: digikam-devel at kde.org
ReportedBy: teemu at rautakuu.org
Created an attachment (id=54262)
--> (http://bugs.kde.org/attachment.cgi?id=54262)
Patch that makes learning work. Might not be a correct way to work with opencv.
Version: 2.0.0 (using KDE 4.5.4)
OS: Linux
If trained face contains known face ID,
Eigenfaces::update() calls
d->learn(*it, cvCloneImage(newFaceArr.at(i).getFace()));
to average old face and new face, but in Eigenfaces::EigenfacesPriv::learn()
second argument newFace is commented out, and not included into tempFaces for
average calculation.
Reproducible: Didn't try
Steps to Reproduce:
Train face database twice with same id.
Actual Results:
OpenCV throws exception for not being able to calculate average.
Expected Results:
Average is calculated, and stored.
Current averaging method puts too much value for lastly trained face (50%), and
isn't really an "average" of trained faces.
--
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