Created
September 23, 2016 18:48
-
-
Save navinpai/3613ff41e81ddebd2cb13cb4e4e5353a to your computer and use it in GitHub Desktop.
Static initialize OpenCV on Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final String TAG = "OpenCV::Main"; | |
static { | |
if(!OpenCVLoader.initDebug()){ | |
Log.d(TAG, "OpenCV not loaded"); | |
} else { | |
Log.d(TAG, "OpenCV loaded"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment