PerchEye SDK provides advanced facial recognition functionality for mobile applications across multiple platforms, enabling face detection, enrollment, verification, and comparison using embedded TensorFlow Lite models.
Location: /android-aar/
Language: Kotlin/Java
Integration: Gradle dependency
Documentation: Native Android implementation
Location: /ios/
Language: Swift/Objective-C
Integration: CocoaPods/Swift Package Manager
Documentation: Native iOS implementation
Location: /flutter/
Language: Dart
Integration: pub.dev dependency
Documentation: Cross-platform Flutter plugin
Location: /react-native/
Language: JavaScript/TypeScript
Integration: npm package
Documentation: Cross-platform React Native module
val perchEye = PerchEye(context) perchEye.init() perchEye.openTransaction() val result = perchEye.addImage(bitmap) if (result == ImageResult.SUCCESS) { val hash = perchEye.enroll() val similarity = perchEye.verify(hash) } perchEye.destroy()
let perchEye = PerchEyeSwift() perchEye.openTransaction() let result = perchEye.load(image: uiImage) if result == .success { let hash = perchEye.enroll() let similarity = perchEye.verify(hash: hash) } perchEye.destroy()
await PerchEye.init(); await PerchEye.openTransaction(); final result = await PerchEye.addImage(base64Image); if (result == 'SUCCESS') { final hash = await PerchEye.enroll(); final similarity = await PerchEye.verify(hash); } await PerchEye.destroy();
import { openTransaction, addImage, enroll, verify } from 'react-native-perch-eye'; await openTransaction(); const result = await addImage(base64Image); if (result === 'SUCCESS') { const hash = await enroll(); const similarity = await verify(hash); }
All platform implementations provide:
Identify human faces in images
Generate unique biometric hashes
Compare faces against stored hashes
Handle multiple images efficiently
No internet connection required
All platforms return consistent status codes:
// Status codes SUCCESS // Operation completed successfully FACE_NOT_FOUND // No face detected in the image FILE_NOT_FOUND // Image file not found (Android only) TRANSACTION_NOT_OPEN // No active transaction SDK_NOT_INITIALIZED // SDK not properly initialized INTERNAL_ERROR // Internal processing error
All computation happens on-device
Biometric data never leaves the device
Only mathematical representations are stored
Meets GDPR and privacy regulations
Each platform includes a fully functional demo application:
Location: android-demo/
Native Android app
Location: ios-demo/
Native iOS app
Location: flutter-demo/
Cross-platform Flutter app
Location: react-native-demo/
Cross-platform RN app
Android Studio, Gradle, API level 24+
Xcode 12+, iOS 14.0+, Swift 5.0+
Flutter SDK 3.0+, Dart 2.17+
Node.js 18+, React Native 0.70+
# Clone the repository git clone https://github.com/Onix-Systems/PerchEye-SDK-Multiplatform.git # Build Android SDK cd android && ./gradlew build # Build iOS SDK cd ios && xcodebuild -project PerchEyeFramework.xcodeproj # Build Flutter plugin cd flutter && flutter packages get # Build React Native module cd react-native && npm install
dependencies {
implementation(files("libs/perch-eye-1.0.3-4.aar"))
}
Setup Instructions:
# Run this in your Flutter project:
flutter pub add perch_eye
npm install react-native-perch-eye
Platform-specific guides
Working examples for each platform
Developer community and discussions