{"id":18992015,"url":"https://github.com/alihassanml/face-recognition-attendance-system","last_synced_at":"2025-09-06T05:31:50.867Z","repository":{"id":254144408,"uuid":"845599532","full_name":"alihassanml/Face-Recognition-Attendance-System","owner":"alihassanml","description":"This project uses FastAPI to deploy an attendance system integrated with face recognition. It captures live video from a webcam, detects faces, matches them with a pre-defined list of known faces, and marks attendance accordingly. ","archived":false,"fork":false,"pushed_at":"2024-08-21T16:06:20.000Z","size":7230,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T21:42:49.984Z","etag":null,"topics":["attandance","face-recognition","fastapi","flask","machine-learning","python","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alihassanml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-21T14:57:10.000Z","updated_at":"2024-11-02T20:37:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"d886862a-4998-477d-8767-60e2fbe60ad1","html_url":"https://github.com/alihassanml/Face-Recognition-Attendance-System","commit_stats":null,"previous_names":["alihassanml/face-recognition-attendance-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alihassanml/Face-Recognition-Attendance-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alihassanml%2FFace-Recognition-Attendance-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alihassanml%2FFace-Recognition-Attendance-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alihassanml%2FFace-Recognition-Attendance-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alihassanml%2FFace-Recognition-Attendance-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alihassanml","download_url":"https://codeload.github.com/alihassanml/Face-Recognition-Attendance-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alihassanml%2FFace-Recognition-Attendance-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273859012,"owners_count":25180811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attandance","face-recognition","fastapi","flask","machine-learning","python","webapp"],"created_at":"2024-11-08T17:16:04.705Z","updated_at":"2025-09-06T05:31:50.858Z","avatar_url":"https://github.com/alihassanml.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face Recognition Attandance System\n\nThis project uses FastAPI to deploy an attendance system integrated with face recognition. It captures live video from a webcam, detects faces, matches them with a pre-defined list of known faces, and marks attendance accordingly. \n\n## Features\n\n- **Live Face Recognition**: Captures video and recognizes faces in real-time.\n- **Attendance Marking**: Logs attendance with timestamps when a face is recognized.\n- **Image Upload**: Allows uploading new face images to be added to the system.\n- **Web Interface**: Provides a web interface for viewing attendance and controlling video feed.\n\n## Requirements\n\n- Python 3.8+\n- FastAPI\n- OpenCV\n- `face_recognition` library\n- `Jinja2` for templating\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/alihassanml/Face-Recognition-Attandance-System.git\n   cd Attandance-System-Face-Recognition\n   ```\n\n2. Install the dependencies:\n   ```bash\n   pip install fastapi[all] opencv-python face_recognition\n   ```\n\n## Usage\n\n1. **Start the FastAPI server**:\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n2. **Navigate to the web interface**:\n   Open your browser and go to `http://localhost:8000/`.\n\n3. **Upload Images**:\n   Use the `/upload_image` endpoint to upload face images. \n\n4. **Start/Stop Video Feed**:\n   - Start video feed: `http://localhost:8000/start_video`\n   - Stop video feed: `http://localhost:8000/stop_video`\n\n5. **View Attendance**:\n   The attendance records can be viewed at the root endpoint: `http://localhost:8000/`.\n\n## Code Structure\n\n- `main.py`: Contains the FastAPI application and the core logic for face recognition and attendance marking.\n- `templates/`: Directory for HTML templates.\n- `static/`: Directory for static files like CSS and JavaScript.\n- `images/`: Directory for storing uploaded face images.\n- `Attendance.txt`: File where attendance records are saved.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falihassanml%2Fface-recognition-attendance-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falihassanml%2Fface-recognition-attendance-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falihassanml%2Fface-recognition-attendance-system/lists"}