https://github.com/tharushaudana/flutter_face_auth
This Flutter project implements face authentication using the FaceNet512 model, storing face data (as Float32 arrays) and names in Firebase Firestore. It allows users to capture and store their face data for subsequent identification, predicting identities based on cosine similarity.
https://github.com/tharushaudana/flutter_face_auth
face-authentication facenet-model firebase flutter machine-learning tensorflow-lite
Last synced: 6 months ago
JSON representation
This Flutter project implements face authentication using the FaceNet512 model, storing face data (as Float32 arrays) and names in Firebase Firestore. It allows users to capture and store their face data for subsequent identification, predicting identities based on cosine similarity.
- Host: GitHub
- URL: https://github.com/tharushaudana/flutter_face_auth
- Owner: tharushaudana
- Created: 2023-11-22T12:26:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-29T13:12:37.000Z (11 months ago)
- Last Synced: 2025-07-29T15:50:31.038Z (11 months ago)
- Topics: face-authentication, facenet-model, firebase, flutter, machine-learning, tensorflow-lite
- Language: Dart
- Homepage:
- Size: 44 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [ARCHIVED] Face Authentication Application
⚠️ **This project is archived and no longer maintained.**
A newer, compatible version is available at:
👉 [flutter_face_auth_2](https://github.com/tharushaudana/flutter_face_auth_2)
Compatible with:
- **Flutter** 3.32.6 • channel stable • [flutter.git](https://github.com/flutter/flutter.git)
- **Framework** revision 077b4a4ce1 (2025-07-08)
- **Engine** revision 72f2b18bb0
- **Dart** 3.8.1 • DevTools 2.45.1
---
# Face Authentication Application
This Flutter project implements face authentication using the FaceNet512 model, storing face data (as Float32 arrays) and names in Firebase Firestore.
## Features
- **FaceNet512 Model**: Utilizes the FaceNet512 model to encode facial features.
- **Firebase Firestore Integration**: Stores face data (as a Float32 array of length 512) and corresponding names (as strings) in Firestore.
- **Face Data Loading**: Loads all face data from Firestore upon app launch.
- **Face Data Storage**: Allows users to capture their face and store the data in Firestore.
- **Face Prediction**: Predicts the user's identity by comparing the captured face data with the stored data using cosine similarity.
## Dependencies
- camera: ^0.10.5+5
- google_mlkit_face_detection: ^0.9.0
- image: ^3.0.2
- tflite_flutter: ^0.10.3
- cloud_firestore: ^4.13.2
- firebase_core: ^2.23.0
## Screenshots
### App Interface

### Predicted Page

### Data Storage in Firestore

## Purpose
This application aims to assist in mobile face authentication purposes, leveraging advanced face recognition technology and cloud storage.
---
I hope this project helps you in implementing mobile face authentication functionalities efficiently.