Ask Your Question

Revision history [back]

Generate face data from XML data of LBPHFaceRecognizer

I'm currently doing a project that finds and classifies peoples' faces. Ideally, we're doing this for a hacker convention MakeVention. We're needing a way to count how many unique people show up.

My code is here. I don't save any face images, other than the seed data for the classifier. The seed data is a bunch of pics of me.

The question here is, given the XML save:

model->save(face_file);

Can I take this data and generate grayscale images from this data that accurately reproduce this face? Or, is this data a one-way hash?