An offline employee attendance system that performs face recognition directly on-device using TensorFlow Lite and FaceNet, without requiring an internet connection.
- Offline face recognition
- Face embedding generation using FaceNet
- Liveness detection before verification
- Automatic attendance logging
- Local SQLite database
- Local image storage
- Native Android TensorFlow Lite integration
- React Native cross-platform UI
- React Native
- TypeScript
- TensorFlow Lite
- FaceNet
- Cosine Similarity
- SQLite
- Android File System
- Kotlin
- Native Modules
- Vision Camera
Camera
│
▼
Vision Camera
│
▼
Captured Face
│
▼
TensorFlow Lite
│
▼
FaceNet
│
▼
128D Face Embedding
│
▼
Cosine Similarity
│
▼
SQLite Database
│
▼
Attendance Recorded
src
│
├── components
├── database
├── repositories
├── screens
├── services
├── utils
- User completes liveness detection.
- Camera captures a face image.
- TensorFlow Lite runs the FaceNet model.
- A face embedding is generated.
- Cosine similarity compares the embedding against enrolled users.
- If similarity exceeds the threshold, attendance is marked.
- All processing happens locally on the device.
- Cloud synchronization
- Admin dashboard
- Multi-device support
- Face anti-spoofing
- Employee analytics
- Real-time attendance monitoring