|
Download README.md from Atomio/facerecog: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/spaces/Atomio/facerecog/resolve/main/README.md
- Command line
-
hf download hf://spaces/Atomio/facerecog/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Atomio/facerecog/resolve/main/README.md
1.93 kB
| title: Face Recognition API | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: mit | |
| short_description: FastAPI face recognition with DeepFace and Supabase | |
| tags: | |
| - fastapi | |
| - face-recognition | |
| - deepface | |
| - computer-vision | |
| - machine-learning | |
| # Face Recognition API π― | |
| A modern FastAPI application for face recognition using DeepFace and Supabase. This API allows users to register faces and perform real-time recognition through various input methods including images, videos, and webcam streams. | |
| ## π Features | |
| - **Face Registration**: Register user faces with unique identifiers | |
| - **Image Recognition**: Recognize faces in static images | |
| - **Video Recognition**: Process video files for face recognition | |
| - **Real-time Webcam**: WebSocket-based real-time face recognition | |
| - **Vector Similarity Search**: Powered by Supabase pgvector for fast similarity matching | |
| - **RESTful API**: Clean, documented API endpoints | |
| - **Async Processing**: High-performance async operations | |
| ## π οΈ Technology Stack | |
| - **FastAPI**: Modern, fast web framework for building APIs | |
| - **DeepFace**: State-of-the-art face recognition library | |
| - **Supabase**: PostgreSQL database with pgvector extension | |
| - **OpenCV**: Computer vision library for image/video processing | |
| - **TensorFlow**: Deep learning framework for face recognition models | |
| - **Docker**: Containerized deployment | |
| ## π API Documentation | |
| Once deployed, visit `/docs` to access the interactive Swagger UI documentation. | |
| ## π§ Local Development | |
| 1. Clone the repository | |
| 2. Copy `.env.example` to `.env` and configure your Supabase credentials | |
| 3. Run `./scripts/setup.sh` to set up the development environment | |
| 4. Start the development server: `make dev` | |
| ## π Deployment | |
| This application is configured for deployment on Hugging Face Spaces using Docker. | |
| ## π License | |
| MIT License - see LICENSE file for details. | |