https://github.com/daboss2003/face-detection-library
https://github.com/daboss2003/face-detection-library
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daboss2003/face-detection-library
- Owner: daboss2003
- Created: 2026-02-13T12:43:00.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-22T17:42:04.000Z (5 months ago)
- Last Synced: 2026-02-22T19:49:17.744Z (5 months ago)
- Language: TypeScript
- Size: 527 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cross-Platform Liveness Detection Library
Production-ready, on-device liveness detection using **MediaPipe Face Landmarker** with native Android (CameraX) and iOS (AVCaptureSession) libraries, plus Capacitor and React Native wrappers.
## Monorepo layout
```
/
├── android/ # Kotlin library → AAR
├── ios/ # Swift framework → XCFramework
├── capacitor-plugin/ # Capacitor bridge (WebView; no new Activity)
├── react-native-module/ # TurboModule (Expo 54 + New RN)
├── demo-apps/
│ ├── android/ # Android demo app
│ ├── ios/ # iOS demo app
│ └── web/ # Web demo (Vite + @daboss/liveness-web)
└── docs/ # Architecture, thresholds, wrapping guides
```
## Quick start
- Android: build the library in `android/`, then use it in `demo-apps/android/`.
- iOS: integrate `MediaPipeTasksVision` and `face_landmarker.task`, then build the framework and use it in `demo-apps/ios/`.
- Capacitor: install `@daboss/liveness-capacitor`.
- React Native / Expo 54: install `@daboss/liveness-react-native` and add the Expo config plugin.
- Web (Capacitor web layer / browser): install `@daboss/liveness-web`. Run the web demo from `demo-apps/web/` (build `web-sdk` first, then `npm install` and `npm run dev`).
See `docs/README.md` for full details, thresholds, and usage.