示例#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(); //
 }