Example usage for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_9

List of usage examples for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_9

Introduction

In this page you can find the example usage for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_9.

Prototype

String OPENCV_VERSION_2_4_9

To view the source code for org.opencv.android OpenCVLoader OPENCV_VERSION_2_4_9.

Click Source Link

Document

OpenCV Library version 2.4.9.

Usage

From source file:com.example.bluetoothchat.Main.java

License:Apache License

public synchronized void onResume() {
    super.onResume();
    OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_9, this, mLoaderCallback);
    if (D)/*from  w w w  .  j a  va2s .  c  o  m*/
        Log.e(TAG, "+ ON RESUME +");
    // Performing this check in onResume() covers the case in which BT was
    // not enabled during onStart(), so we were paused to enable it...
    // onResume() will be called when ACTION_REQUEST_ENABLE activity returns.
    if (mChatService != null) {
        // Only if the state is STATE_NONE, do we know that we haven't started already
        if (mChatService.getState() == BluetoothChatService.STATE_NONE) {
            // Start the Bluetooth chat services
            mChatService.start();
        }
    }
}

From source file:com.example.root.dipproj.MainActivity.java

@Override
protected void onResume() {
    super.onResume();
    //initialize OpenCV manager
    OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_9, this, mLoaderCallback);
}

From source file:de.hftl_projekt.ict.MainActivity.java

public void onResume() {
    super.onResume();
    //init OpenCV
    OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_9, this, mLoaderCallback);
}

From source file:org.ros.android.android_all_sensors_driver.MainActivity.java

License:Apache License

@Override
public void onResume() {
    super.onResume();
    if (isInit) {
        OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_9, this, mLoaderCallback);
    }//from ww  w . j  a v a  2s .c  om
}

From source file:to.augmented.reality.android.em.opencv.sample.MainActivity.java

License:Apache License

@Override
protected void onResume()
//-----------------------
{
    super.onResume();
    OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_9, this, loaderCallback);
    if ((headerFile != null) && (framesFile != null))
        cameraView.setRecordingFiles(headerFile, framesFile);
}