public void detect(Mat imageGray, MatOfRect faces) {
   nativeDetect(mNativeObj, imageGray.getNativeObjAddr(), faces.getNativeObjAddr());
 }