Version: 2.0.0 (using KDE 4.5.4) OS: Linux When Database save is called, name/id pair passed to KFaceUtils::addNameToFile() gets "-1" as ID, and so every pair contains "name", "-1". Reproducible: Always Steps to Reproduce: - Detect new faces for picture, add names, and save database. - restart detection program, load old database. - Try recognizing faces, get "empty" results. Actual Results: Faces are recognized, but names aren't loaded. Expected Results: - Names are assigned. OpenCV Version: 2.1.0-0.pm.15.11 QT Version: 4.7.1-141.2
Created attachment 54203 [details] set returned vector values to reflect ids'
Problem seems to be in libfaces' Eingenfaces.cpp, where result vector isn't updated accordingly.
SVN commit 1204177 by cgilles: apply patch #54203 from Teemu Autto to return updated vector value ID BUGS: 258082 M +1 -0 Eigenfaces.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1204177