Skip to content

Pro Integration

LucQuebec edited this page Jul 5, 2026 · 1 revision

Pro Integration

OpenCV Pro is OpenCV 5.0 built with the full opencv_contrib set, delivered as a prebuilt Android AAR. Core + every contrib module, arm64-v8a + x86_64, API 24+, 16 KB aligned — no CMake, no NDK, no rebuild.

1. Add the AAR

After purchase you get opencv-android-pro-<version>.aar. Drop it in your module's libs/ and reference it:

// build.gradle.kts (module)
dependencies {
    implementation(files("libs/opencv-android-pro-5.0.0.aar"))
}

2. Initialise (same as official)

import org.opencv.android.OpenCVLoader
check(OpenCVLoader.initLocal()) { "OpenCV failed to load" }

3. Use any contrib module

import org.opencv.face.FaceRecognizerSF      // face recognition
import org.opencv.aruco.ArucoDetector        // ArUco markers
import org.opencv.tracking.TrackerCSRT        // robust tracking
import org.opencv.ml.SVM                       // classic ML (moved out of core in 5.0)
import org.opencv.xobjdetect.*                 // Haar / HOG (moved out of core in 5.0)

All of these resolve with the Pro AAR and fail with the official one — that's the difference.

Notes

  • Models are not bundled (ONNX, Haar XML, SFace, etc.) — download the ones you need and ship them in assets, like with the official SDK.
  • Same Java package layout as upstream OpenCV (org.opencv.*) — your existing code and samples work unchanged.

Get it

OpenCV Pro — $24 individual / $62 team · Jokobee · contact@jokobee.com

Clone this wiki locally