Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

setLabelsInfo not existing in opencv3?

I'm converting some opencv2 code to opencv3. In this i use the setLabelsInfo call, but it doesn't seem to exist in opencv3. As a result, my face recognition doesn't work and flags everyone as unknown (probably because it can't match up the names read from csv with the labels.

Is there a alternate way of doing it ?

Users/alefveld/Downloads/Testingground/philip3/backup2.cpp:180:12: error: no member named 'setLabelsInfo' in 'cv::face::FaceRecognizer' model->setLabelsInfo(labelsInfo);

I can give more code if needed. Alef