예제 #1
0
 public void onDestroy() {
   super.onDestroy();
   Log.i(TAG, "on destory");
   if (mOpenCvCameraView != null) {
     mOpenCvCameraView.disableView();
   }
   xface.destroryFacedetect();
 }
예제 #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(); //
 }