之前比较早的时候写了一篇博文: AndroidStudio中配置及使用OpenCV示例 ,主要介绍了如何在AS中使用OpenCV,基本的配置介绍及使用示例,上传的示例也比较潦草,使用的版本是 OPENCV_VERSION_2_4_9 ,各个版本号在OpenCV的SDK包中是可以看到的:
OpenCV-android-sdk\sdk\java\src\org\opencv\android\OpenCVLoader.java
package org.opencv.android;
import android.content.Context;
/**
- Helper class provides common initialization methods for OpenCV library.
*/
public class OpenCVLoader
{
/**
- OpenCV Library version 2.4.2.
*/
public static final String OPENCV_VERSION_2_4_2 = “2.4.2”;
/**
- OpenCV Library version 2.4.3.
*/
public static final String OPENCV_VERSION_2_4_3 = “2.4.3”;
/**
- OpenCV Library version 2.4.4.
*/
public static final String OPENCV_VERSION_2_4_4 = “2.4.4”;
/**
<