List of usage examples for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_5
String OPENCV_VERSION_2_4_5
To view the source code for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_5.
Click Source Link
From source file:at.ac.tuwien.ims.weightmonitor.FacialFeatureActivity.java
License:Open Source License
@Override public void onResume() { super.onResume(); if (!error && !openCVLoaded) OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_5, this, mLoaderCallback); }
From source file:de.hhn.android.licenseplatedecoder.activities.SplashActivity.java
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_splash); Log.i(TAG_OPENCV, "onCreate"); Log.i(TAG_OPENCV, "Trying to load OpenCV library"); if (!OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_5, this, mLoaderCallback)) { Log.e(TAG_OPENCV, "Cannot connect to OpenCV Manager"); } else {//from w w w .java 2 s. c o m Log.i(TAG_OPENCV, "opencv successfully added"); } /** Initialize variables */ this.listener = new SplashActivityListener(this); /** Get UI controls */ cameraButton = (ImageButton) findViewById(R.id.buttonCameraSplash); galleryButton = (ImageButton) findViewById(R.id.buttonGallerySplash); /** Set listeners */ cameraButton.setOnClickListener(this.listener); galleryButton.setOnClickListener(this.listener); this.preferenceStatusLabel = (TextView) findViewById(R.id.preferenceStatus); refreshStatusFromPreferences(); }
From source file:eu.fpetersen.robobrain.ui.CameraViewActivity.java
License:Open Source License
@Override public void onResume() { super.onResume(); OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_5, this, mLoaderCallback); }