The official AAR is missing half the library. We ship the rest.
OpenCV on Maven Central doesn't include contrib modules. No face recognition, no advanced tracking, no ML classique. To get them, you'd have to rebuild the entire SDK from source. Or you add our Pro AAR — one Gradle line, every module, no NDK.
// OpenCV 5.0 + contrib · arm64-v8a + x86_64 · API 24+ · 16 KB aligned
The official AAR ships core only. Here's what it leaves out.
These modules require opencv_contrib, which means rebuilding the entire SDK from source — or adding our Pro AAR.
| MODULE | WHAT IT DOES | OFFICIAL | PRO |
|---|---|---|---|
| face | Face recognition (LBPH, FaceRecognizerSF) | ✗ | ✓ |
| tracking | Advanced trackers (CSRT, KCF, MOSSE) | ✗ | ✓ |
| text | Scene text detection (EAST, DB, CRNN) | ✗ | ✓ |
| xfeatures2d | SURF, DAISY, StarDetector | ✗ | ✓ |
| ml | Classic ML (SVM, KNN, DTrees) ← moved from core in 5.0 | ✗ | ✓ |
| xobjdetect | Haar cascades, HOG detectors ← moved from core in 5.0 | ✗ | ✓ |
| gapi | Graph API ← moved from core in 5.0 | ✗ | ✓ |
Start free with the official. Go Pro when you need contrib.
- Core modules: imgproc, video, dnn, features, objdetect
- Maintained by the OpenCV team + ARM
- One Gradle line: org.opencv:opencv:5.0.0.1
- Everything in official + ALL contrib modules
- Face recognition · tracking · text detection · ML
- Haar cascades · HOG · G-API (back from 5.0 exile)
- arm64-v8a + x86_64 (emulators, Chromebooks)
- 16 KB page aligned · Android 15 ready
- Single AAR — no NDK, no source rebuild
Same API. More modules. One line change.
The Pro AAR is a superset of the official package. Your existing OpenCV code stays identical — you just gain access to the modules that were missing.
Upgrading from 4.x? Here's what breaks and how to fix it.
OpenCV 5.0 moved several popular modules from core to contrib. Your code didn't change — the modules moved. If your app uses ML, Haar cascades, HOG detectors, or G-API, they're no longer in the official AAR.
