-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
implementation("org.opencv:opencv:5.0.0.1")Then OpenCVLoader.initLocal() once before use. See Quick Start.
It moved from core to the ml contrib module, which isn't in the official AAR.
Same for Haar/HOG (xobjdetect) and G-API (gapi). See
Migration OpenCV 5. Get them back with
OpenCV Pro.
Haar/HOG detection moved to xobjdetect (contrib) in 5.0 — not in the official
AAR. Rebuild with contrib, or use OpenCV Pro.
Detection (find faces) works with the official AAR (DNN / objdetect).
Recognition (identify who) needs the face contrib module → OpenCV Pro.
Normally yes, and it's the most-reported OpenCV-on-Android headache (CMake, NDK toolchain, ABI mismatches). OpenCV Pro is a prebuilt AAR with core + all contrib, so you skip the rebuild.
No — the official free AAR is org.opencv:opencv on Maven Central (use it for
core). OpenCV Pro by Jokobee is a separate prebuilt core + contrib AAR.
Jokobee · https://www.jokobee.com · contact@jokobee.com