L'AAR officiel manque la moitié de la librairie. On livre le reste.
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
L'AAR officiel contient le core seulement. Voici ce qui manque.
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 | ✗ | ✓ |
Commencez gratuitement avec l'officiel. Passez au Pro quand vous avez besoin de 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
Même API. Plus de modules. Une ligne à changer.
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.
Vous passez de 4.x? Voici ce qui casse et comment le corriger.
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.
