Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have found a solution to my problem by doing this trick:

 Ptr<FaceRecognizer> model =createLBPHFaceRecognizer();
 model.addref();
 jlong ptr =(jlong)model.obj;

where ptr is the nativeObject's address.