Skip to content

Commit

Permalink
OpenCV version++
Browse files Browse the repository at this point in the history
OpenCV 3.4.0-rc
  • Loading branch information
alalek committed Dec 15, 2017
1 parent 3fddce6 commit cac4a7e
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion doc/tutorials/dnn/dnn_android/dnn_android.markdown
Expand Up @@ -12,7 +12,7 @@ Tutorial was written for the following versions of corresponding software:

- Download and install Android Studio from https://developer.android.com/studio.

- Get the latest pre-built OpenCV for Android release from https://github.com/opencv/opencv/releases and unpack it (for example, `opencv-3.3.0-android-sdk.zip`).
- Get the latest pre-built OpenCV for Android release from https://github.com/opencv/opencv/releases and unpack it (for example, `opencv-3.4.0-android-sdk.zip`).

- Download MobileNet object detection model from https://github.com/chuanqi305/MobileNet-SSD. We need a configuration file `MobileNetSSD_deploy.prototxt` and weights `MobileNetSSD_deploy.caffemodel`.

Expand Down
Expand Up @@ -43,7 +43,7 @@ If you had other definitions already, you can append the line using a `\`:

@code
TAGFILES = ./docs/doxygen-tags/libstdc++.tag=https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen \
./docs/doxygen-tags/opencv.tag=http://docs.opencv.org/3.3.1
./docs/doxygen-tags/opencv.tag=http://docs.opencv.org/3.4.0
@endcode

Doxygen can now use the information from the tag file to link to the OpenCV
Expand Down
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/version.hpp
Expand Up @@ -51,9 +51,9 @@
#define OPENCV_VERSION_HPP

#define CV_VERSION_MAJOR 3
#define CV_VERSION_MINOR 3
#define CV_VERSION_REVISION 1
#define CV_VERSION_STATUS "-dev"
#define CV_VERSION_MINOR 4
#define CV_VERSION_REVISION 0
#define CV_VERSION_STATUS "-rc"

#define CVAUX_STR_EXP(__A) #__A
#define CVAUX_STR(__A) CVAUX_STR_EXP(__A)
Expand Down
5 changes: 5 additions & 0 deletions modules/java/generator/src/java/android+OpenCVLoader.java.in
Expand Up @@ -87,6 +87,11 @@ public class OpenCVLoader
*/
public static final String OPENCV_VERSION_3_3_0 = "3.3.0";

/**
* OpenCV Library version 3.4.0.
*/
public static final String OPENCV_VERSION_3_4_0 = "3.4.0";

/**
* Current OpenCV Library version
*/
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/build_sdk.py
Expand Up @@ -171,7 +171,7 @@ def build_engine(self, abi, engdest):
# Add extra data
apkxmldest = check_dir(os.path.join(apkdest, "res", "xml"), create=True)
apklibdest = check_dir(os.path.join(apkdest, "libs", abi.name), create=True)
for ver, d in self.extra_packs + [("3.3.1", os.path.join(self.libdest, "lib"))]:
for ver, d in self.extra_packs + [("3.4.0", os.path.join(self.libdest, "lib"))]:
r = ET.Element("library", attrib={"version": ver})
log.info("Adding libraries from %s", d)

Expand Down
4 changes: 2 additions & 2 deletions platforms/android/service/engine/AndroidManifest.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.opencv.engine"
android:versionCode="331@ANDROID_PLATFORM_ID@"
android:versionName="3.31">
android:versionCode="340@ANDROID_PLATFORM_ID@"
android:versionName="3.40">

<uses-sdk android:minSdkVersion="@ANDROID_NATIVE_API_LEVEL@" android:targetSdkVersion="22"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
Expand Down
Expand Up @@ -134,7 +134,7 @@ public String getLibPathByVersion(String version)

@Override
public int getEngineVersion() throws RemoteException {
int version = 3310;
int version = 3400;
try {
version = getPackageManager().getPackageInfo(getPackageName(), 0).versionCode;
} catch (NameNotFoundException e) {
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/service/readme.txt
Expand Up @@ -12,7 +12,7 @@ manually using adb tool:

adb install <path-to-OpenCV-sdk>/apk/OpenCV_<version>_Manager_<app_version>_<platform>.apk

Example: OpenCV_3.3.1-dev_Manager_3.30_armeabi-v7a.apk
Example: OpenCV_3.4.0-dev_Manager_3.40_armeabi-v7a.apk

Use the list of platforms below to determine proper OpenCV Manager package for your device:

Expand Down
2 changes: 1 addition & 1 deletion platforms/maven/opencv-it/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.opencv</groupId>
<artifactId>opencv-parent</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
</parent>
<groupId>org.opencv</groupId>
<artifactId>opencv-it</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion platforms/maven/opencv/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.opencv</groupId>
<artifactId>opencv-parent</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
</parent>
<groupId>org.opencv</groupId>
<artifactId>opencv</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion platforms/maven/pom.xml
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.opencv</groupId>
<artifactId>opencv-parent</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
<packaging>pom</packaging>
<name>OpenCV Parent POM</name>
<licenses>
Expand Down

0 comments on commit cac4a7e

Please sign in to comment.