lcoal fork from capawesome-team/capacitor-mlkit-plugin-demo
- Java 30.3%
- TypeScript 27.8%
- Swift 26.6%
- HTML 9.3%
- JavaScript 3.5%
- Other 2.5%
| .github | ||
| android | ||
| capacitor-mlkit-SPM-local | ||
| ios | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| angular.json | ||
| capacitor.config.json | ||
| COMPATIBILITY_TABLE.md | ||
| eslint.config.js | ||
| ionic.config.json | ||
| karma.conf.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
capacitor-mlkit-plugin-demo
⚡️ Simple Ionic Angular app to demonstrate the use of certain Capacitor ML Kit plugins.
Plugins
The following plugins are included with support SPM using d-date/google-mlkit-swiftpm:
Please See COMPATIBILITY_TABLE.
- capacitor-mlkit/barcode-scanning ✅
- capacitor-mlkit/digital-ink-recognition ❌
- capacitor-mlkit/document-scanner ✅ (Android only)
- capacitor-mlkit/entity-extraction ❌
- capacitor-mlkit/face-detection ✅
- capacitor-mlkit/face-mesh-detection ❌
- capacitor-mlkit/image-labeling ❌
- capacitor-mlkit/language-identification ❌
- capacitor-mlkit/object-detection ✅
- capacitor-mlkit/pose-detection ❌
- capacitor-mlkit/selfie-segmentation ❌
- capacitor-mlkit/smart-reply ❌
- capacitor-mlkit/subject-segmentation ❌
- capacitor-mlkit/text-recognition ✅
- capacitor-mlkit/translation ✅
Development Setup 💻
Prerequisites
- Install Node.js which includes Node Package Manager
(
^22.22.3 || ^24.15.0 || >=26.0.0, as required by Angular) - Android development: Install Android Studio
- iOS development: Install XCode
Getting Started
Clone this repository:
git clone https://github.com/capawesome-team/capacitor-mlkit-plugin-demo.git
Change to the root directory of the project:
cd capacitor-mlkit-plugin-demo
Install all dependencies:
npm i
Prepare and launch the Android app:
npx ionic cap sync android
npx ionic cap run android
Prepare and launch the iOS app:
npx ionic cap sync ios
npx ionic cap run ios
This project uses Ionic as app development platform and the Ionic CLI.
License
See LICENSE.