|
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: [hidden email] ReportedBy: [hidden email] 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
https://bugs.kde.org/show_bug.cgi?id=259146
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] Summary|libface doesn't learn new |libface doesn't learn new |faces |faces (patch) --- Comment #1 from Gilles Caulier <caulier gilles gmail com> 2010-12-07 18:49:40 --- Marcel, Adithya, this patch is correct ? 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 [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from teemu@rautakuu.org
https://bugs.kde.org/show_bug.cgi?id=259146
Alex <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #2 from Alex <alexjironkin gmail com> 2010-12-09 10:16:57 --- Yeah this patch is correct. I forgot to add this line. It is actually not averaging anymore. To combine previous examples with a new one it projects both new and old images into Eigen space and stores the projected image. Then when another face is added to the same id, once again it projects the new face with the projected face and stores the projected face. P.S. I will apply the fix ASAP. Thanks for the patch. Alex -- 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 [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from teemu@rautakuu.org
https://bugs.kde.org/show_bug.cgi?id=259146
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #3 from Gilles Caulier <caulier gilles gmail com> 2010-12-09 11:16:05 --- Patch applied to svn. 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 [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from teemu@rautakuu.org
https://bugs.kde.org/show_bug.cgi?id=259146
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |2.0.0 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
