Esempio n. 1
0
 public void onDestroy() {
   super.onDestroy();
   Log.i(TAG, "on destory");
   if (mOpenCvCameraView != null) {
     mOpenCvCameraView.disableView();
   }
   xface.destroryFacedetect();
 }
Esempio n. 2
0
 @Override
 public void onPause() {
   super.onPause();
   Log.i(TAG, "on pause and finish!");
   if (mOpenCvCameraView != null) {
     mOpenCvCameraView.disableView();
   }
   xface.destroryFacedetect();
   SignupCameraActivity.this.finish(); //
 }