Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to instanciate FaceRecognizer in Java

I want to use org.opencv.contrib.FaceRecognizer from opencv-2413.jar. How can I instanciate FaceRecognizer object?


These do not work:

FaceRecognizer rec = new FaceRecognizer();
FaceRecognizer rec = createLBPHFaceRecognizer();
FaceRecognizer rec = createEigenFaceRecognizer();
FaceRecognizer rec = createFisherFaceRecognizer();