First time here? Check out the FAQ!
answered 2012-11-26 05:42:35 -0600
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.