- An iOS Framework that enables developers to use iris detection & capturing face mesh based on MediaPipe.
- enable to use MediaPipe Iris Detection in Swift App
- Acquire iris tracking from front camera image
- face mesh
- iris landmark
To try the example project, simply clone this repository and open the examples folder
- Add
MPIrisTracker.framworkin./outputfolder to your App Xcode Project on Xcode. - In Xcode, select File > New > File...
- Create temporary Objective-C File (this file will be deleted after creating bridging header file).
- (Xcode automatically creates
xxx-Bridging-Header.h) - Append
#import <MPIrisTracker/MPIrisTracker.h>intoxxx-Bridging-Header.h - (if needed) Select
Embed & Signat MPIrisTracker.framework - (if needed) Select
Noat Enable Bitcode
- Make sure you add the usage description of the
camerain the app'sInfo.plist.
<key>NSCameraUsageDescription</key>
<string>MPIrisTracker</string>
- Follow official MediaPipe documents
- Copy files in
./sourcefolder to MediaPipe installation path (e.g.MEDIAPIPE_PATH/mediapipe/MPIrisTracker/). cd MEDIAPIPE_PATHbazel build -c opt --config=ios_arm64 mediapipe/MPIrisTracker:MPIrisTracker
Yuki Yamato [ukitomato]