2013-04-15 22:36:17 -0600 | commented answer | I want to implement a FaceRecognizer which just judge the two faces are the same person or not Yeah, I just want to use OpenCV to implement a login screen. But I got some question: Should I make the images to gray-scale first? Should I align the facial images?If I choose LBPH, what's the proper threshold of the confidence to decide its a same person or not? |
2013-04-15 21:33:42 -0600 | received badge | ● Scholar (source) |
2013-04-15 21:33:41 -0600 | received badge | ● Supporter (source) |
2013-04-15 12:46:20 -0600 | asked a question | I want to implement a FaceRecognizer which just judge the two faces are the same person or not But in the OpenCV, the algorithm exists for that purpose directly.
These algorithms assume we must given a set of images belong to some different people, and judge the given images is similar to which person we given before. (Because the training data set is small(only one image), so I choose the Local Binary Patterns Histogram) I may train the algorithm by a image of one person and some meaningless images(images without face), and the result must say the test image is most similar to the only person of our training set and we can just output the confidence of result. It's just so dirty to adapt the algorithm to my purpose. I just wonder, is there any elegant way to implement it? |