|
Download README.md from devatomic/Face_recognition_with_Embeddings: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/spaces/devatomic/Face_recognition_with_Embeddings/resolve/main/README.md
- Command line
-
hf download hf://spaces/devatomic/Face_recognition_with_Embeddings/README.md
-
curl -L -o README.md https://huggingface.co/spaces/devatomic/Face_recognition_with_Embeddings/resolve/main/README.md
1.31 kB
| title: Face Recognition with Embeddings | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: mit | |
| short_description: Real-time face recognition using MTCNN + InceptionResnetV1 | |
| # Face Recognition Web App | |
| Real-time browser-based face recognition using **MTCNN** for face detection and **InceptionResnetV1** (FaceNet) for embedding generation. | |
| ## Features | |
| - π₯ **Video Registration** β Record a short clip to register your face | |
| - πΈ **Image Upload** β Upload 3-10 face images for registration | |
| - β‘ **Real-Time Recognition** β Live webcam face matching via WebSocket | |
| - π **Session Isolation** β All data is ephemeral and auto-purged | |
| - π§ **Cosine Similarity** β Identity matching with configurable threshold | |
| ## How It Works | |
| 1. **Register** β Enter your name and record a video or upload images | |
| 2. **Process** β MTCNN detects faces β InceptionResnetV1 generates 512-dim embeddings | |
| 3. **Recognize** β Live webcam stream matches faces against stored embeddings | |
| ## Tech Stack | |
| - **Backend**: FastAPI + WebSocket | |
| - **ML**: PyTorch, facenet-pytorch (MTCNN + InceptionResnetV1) | |
| - **Frontend**: Vanilla JS, HTML5, CSS3 | |
| ## Local Development | |
| ```bash | |
| pip install -r requirements.txt | |
| uvicorn server.app:app --host 0.0.0.0 --port 8000 | |
| ``` | |