The opencv_contrib modules the official AAR doesn't ship — prebuilt, one Gradle
line, no NDK, no rebuild.
The official OpenCV package (org.opencv:opencv, maintained by the OpenCV team) is
great but ships core only. To get contrib modules — face recognition, tracking,
ArUco, text detection — you normally have to rebuild the whole SDK from source
(CMake, NDK, hours lost). We prebuild them for you.
dependencies {
implementation("dev.ffmpegkit-maintained:opencv-contrib-android:5.0.0")
}OpenCV 5.0 core + the most-requested contrib modules — arm64-v8a:
| Included (Free) | |
|---|---|
| Core | core, imgproc, video, calib, features, dnn, objdetect (incl. ArUco in 5.0), photo |
| Contrib | face (recognition), tracking (CSRT/KCF/MOSSE), text (scene text) |
→ See examples/ for ready-to-use Kotlin (edge detection, DNN face detection, face recognition).
| Official AAR | Free (this) | Pro | |
|---|---|---|---|
| Core modules | ✅ | ✅ | ✅ |
| face, tracking, text (contrib) | ✗ | ✅ | ✅ |
| Full contrib (ml, Haar/HOG, gapi, ximgproc, +25) | ✗ | ✗ | ✅ |
| Optimised DNN + pre-integrated models (face, OCR, doc-scan) | ✗ | ✗ | ✅ |
| ABI | arm64-v8a | arm64-v8a | arm64-v8a + x86_64 |
| Channel | Maven Central | Maven Central + GitHub Release | jokobee.com |
| Price | Free | Free | $24 / $62 team |
Pro adds, on top of everything in Free:
- Full contrib module set —
ml, Haar/HOG (xobjdetect), G-API (gapi),ximgproc, and 25+ otheropencv_contribmodules not in Free. - Optimised DNN builds with pre-integrated models for face recognition, OCR, and document scanning — ready to use, no separate model wrangling.
- x86_64 ABI, in addition to arm64-v8a, for emulator/desktop-class testing.
→ Get OpenCV Pro for the complete contrib set, optimised DNN builds, and pre-integrated models (document scanning, face, OCR). Free users who need the full contrib set can pick it up there.
ml, Haar/HOG (xobjdetect), and G-API moved out of core into contrib in 5.0 —
so the official AAR no longer resolves them. Those are in Pro. See the
Migration Guide.
- examples/ — copy-paste Kotlin (basic imgproc, DNN face detection, face recognition).
- docs/official-vs-contrib.md · migration · faq
- Wiki — Quick Start, comparison, migration, FAQ, Pro integration.
Prebuilt Android native libraries so you keep shipping instead of fighting CMake. Also: FFmpegKit · yt-dlp · Whisper
Jokobee · contact@jokobee.com · Apache-2.0 (same as OpenCV upstream).
This project redistributes OpenCV under the Apache License 2.0. See LICENSE. The upstream source is not modified.
Third-party components bundled or built into this project retain their original
licenses. See THIRD-PARTY-NOTICES.txt, which is also copied
into the AAR assets at build time (readable at runtime via
context.assets.open("THIRD-PARTY-NOTICES.txt")).