2012-12-07 40 views
0

我已閱讀源代碼javaCV,文件opencv_contrib.java與類FaceRecognizer。但它只是一個原型,我可以在任何地方找到這個類的實現嗎?如何在javacv中找到類FaceRecognizer的實現?

+0

誰能幫助我? – goose

+0

Answer here:http://stackoverflow.com/questions/11699744/face-recognition-on-android –

回答

0

你需要調用的創造識別靜態方法之一:

FaceRecognizer eigenRecog = com.googlecode.javacv.cpp.opencv_contrib.createEigenFaceRecognizer(); 
FaceRecognizer fischerRecog = com.googlecode.javacv.cpp.opencv_contrib.createFisherFaceRecognizer(); 
FaceRecognizer lbphRecog = com.googlecode.javacv.cpp.opencv_contrib.createLBPHFaceRecognizer(); 
相關問題