1 | initial version |
sad as it is, you can't from pure java.
there is e.g. a Ptr<FaceRecognizer> createLBPHFaceRecognizer()
method in c++, but it's not wrapped to java (the script generating this has a problem with Ptr types.
you might have a chance, if you do your own wrapping, but that will require jni/ndk.