@Override public void onManagerConnected(int status) { switch (status) { case LoaderCallbackInterface.SUCCESS: { // mOpenCvCameraView.enableView(); initializeOpenCVDependencies(); } break; default: { super.onManagerConnected(status); } break; } }
@Override public void onManagerConnected(int status) { switch (status) { case LoaderCallbackInterface.SUCCESS: { cameraView.enableView(); cameraView.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View v) { captureBackground = true; } }); } break; default: { super.onManagerConnected(status); } break; } }