A robust, enterprise-grade attendance system leveraging Computer Vision and AI. It features real-time Face Recognition, Liveness Detection (Anti-Spoofing), and an interactive Analytics Dashboard.
- Face Recognition Engine: Powered by DeepFace (ArcFace) for high-accuracy identity verification.
- Anti-Spoofing Security: MediaPipe-based liveness detection prevents photo/video attacks.
- Smart Analytics: Interactive dashboard showing attendance trends, late arrivals, and peak hours.
- Backend API: High-performance FastAPI server with SQLite database.
- Dockerized: Fully containerized for "Write Once, Run Anywhere" deployment.
- AI/ML: DeepFace, MediaPipe, OpenCV, TensorFlow
- Backend: FastAPI, SQLAlchemy, Pydantic
- Frontend: Streamlit, Plotly
- Database: SQLite (Dev) / PostgreSQL (Prod ready)
- DevOps: Docker, Docker Compose
The fastest way to run the application is via Docker.
1. Build the Image
docker build -t smart-attendance .