
Shared API wrapping Google ML Kit native SDKs for Vision and NLP, handling interop, image inputs, threading, and result mapping with simple, integration-friendly APIs.
Kotlin Multiplatform bindings for Google ML Kit. Shared Kotlin API over ML Kit's native SDKs so you can integrate Vision features once and run on Android and iOS. It handles platform interop, image inputs, threading, and results mapping, with Swift-friendly symbols on iOS and simple Gradle setup on Android.
| Feature | Artifact | Android | iOS |
|---|---|---|---|
| Barcode Scanning (bundled) | mlkit-barcode |
✅ | ✅ |
| Barcode Scanning (Play Services) | mlkit-barcode-play-services |
✅ | — |
| Face Detection (bundled) | mlkit-face-detection |
✅ | ✅ |
| Face Detection (Play Services) | mlkit-face-detection-play-services |
✅ | — |
| Text Recognition (bundled) | mlkit-text-recognition |
✅ | ✅ |
| Text Recognition (Play Services) | mlkit-text-recognition-play-services |
✅ | — |
| Pose Detection | mlkit-pose-detection |
✅ | ✅ |
| Target | Minimum OS |
|---|---|
| Android | API 23+ |
| iOS | 15.0+ |
Add mavenCentral() to your repositories, then pick the artifacts you need:
// commonMain
implementation("io.github.rufenkhokhar:mlkit-barcode:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-face-detection:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-text-recognition:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-pose-detection:v0.2.0")➡️ Full setup and API docs: see the Wiki.
PRs and issues are welcome.
Apache-2.0 © 2025 Rufen Khokhar
Kotlin Multiplatform bindings for Google ML Kit. Shared Kotlin API over ML Kit's native SDKs so you can integrate Vision features once and run on Android and iOS. It handles platform interop, image inputs, threading, and results mapping, with Swift-friendly symbols on iOS and simple Gradle setup on Android.
| Feature | Artifact | Android | iOS |
|---|---|---|---|
| Barcode Scanning (bundled) | mlkit-barcode |
✅ | ✅ |
| Barcode Scanning (Play Services) | mlkit-barcode-play-services |
✅ | — |
| Face Detection (bundled) | mlkit-face-detection |
✅ | ✅ |
| Face Detection (Play Services) | mlkit-face-detection-play-services |
✅ | — |
| Text Recognition (bundled) | mlkit-text-recognition |
✅ | ✅ |
| Text Recognition (Play Services) | mlkit-text-recognition-play-services |
✅ | — |
| Pose Detection | mlkit-pose-detection |
✅ | ✅ |
| Target | Minimum OS |
|---|---|
| Android | API 23+ |
| iOS | 15.0+ |
Add mavenCentral() to your repositories, then pick the artifacts you need:
// commonMain
implementation("io.github.rufenkhokhar:mlkit-barcode:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-face-detection:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-text-recognition:v0.2.0")
implementation("io.github.rufenkhokhar:mlkit-pose-detection:v0.2.0")➡️ Full setup and API docs: see the Wiki.
PRs and issues are welcome.
Apache-2.0 © 2025 Rufen Khokhar