Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Computing LBP Histogram in OpenCV

I am doing face recognition in android using JAVACV and OpenCV SDK for android. I used the sample code of face detection that comes with OpenCV android SDK. Now I want to move to face recognition. I want to compute the LBP Histogram of the detected face and store it in the database which will be later matched using Chi-square with other histogram. The Face recognizer class in OpenCV has train and predict method which are not publicly exposed. Does the train method compute the Histogram of the image? How can I compute the LBP Histogram using the face recognizer class?

click to hide/show revision 2
No.2 Revision

updated 2013-04-16 09:06:50 -0600

berak gravatar image

Computing LBP Histogram in OpenCV

I am doing face recognition in android using JAVACV and OpenCV SDK for android. I used the sample code of face detection that comes with OpenCV android SDK. Now I want to move to face recognition. I want to compute the LBP Histogram of the detected face and store it in the database which will be later matched using Chi-square with other histogram. The Face recognizer class in OpenCV has train and predict method which are not publicly exposed. Does the train method compute the Histogram of the image? How can I compute the LBP Histogram using the face recognizer class?