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