How can instantiate FaceRecognizer in opencv-2.4.9?

asked 2015-01-22 10:08:46 -0600

I'm working with java in netbeans and library opencv-2. What I want to do is to instantiate the class FaceRecognizer algorithm LBPH but not how. I tried doing this. FaceRecognizer fac = new FaceRecognizer();     and nothing happens, it gives me error I tried this way. FaceRecognizer createLBPHFaceRecognizer fac = (); and does not work, gives me error. I want to use the method train and predict method for recognizing faces, but not how to start. Excuse my English.

edit retag flag offensive close merge delete