{"id":18235828,"url":"https://github.com/codewithdark-git/attendance-management-system","last_synced_at":"2026-04-14T00:04:39.685Z","repository":{"id":217998770,"uuid":"745324185","full_name":"codewithdark-git/Attendance-Management-System","owner":"codewithdark-git","description":"The Face Recognition Attendance System is a Python-based application that utilizes face recognition technology to track and record attendance for students. The system stores user data, face images, and attendance records in an SQLite database.","archived":false,"fork":false,"pushed_at":"2024-06-23T09:59:29.000Z","size":2907,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T11:32:57.393Z","etag":null,"topics":["attendance","attendance-system","csv","database","face-recognition","model","pretrained-models","python","python-script","sklearn","sql","sqlalchemy"],"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/codewithdark-git.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-01-19T04:52:08.000Z","updated_at":"2024-06-23T10:01:38.000Z","dependencies_parsed_at":"2024-02-11T15:28:21.259Z","dependency_job_id":"0b69c4a7-0ee9-46c5-a37d-59ef3a6dd1b6","html_url":"https://github.com/codewithdark-git/Attendance-Management-System","commit_stats":null,"previous_names":["codewithdark-git/attendance"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2FAttendance-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2FAttendance-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2FAttendance-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2FAttendance-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithdark-git","download_url":"https://codeload.github.com/codewithdark-git/Attendance-Management-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247867365,"owners_count":21009240,"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","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":["attendance","attendance-system","csv","database","face-recognition","model","pretrained-models","python","python-script","sklearn","sql","sqlalchemy"],"created_at":"2024-11-05T00:22:37.810Z","updated_at":"2026-04-14T00:04:39.641Z","avatar_url":"https://github.com/codewithdark-git.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Attendance System\n\n## Overview\n\nThe Face Recognition Attendance System is a Python-based application that utilizes face recognition technology to track and record attendance for students. The system stores user data, face images, and attendance records in an SQLite database.\n\n## Features\n\n- **Face Recognition**: Identify students using face recognition technology.\n- **Database Storage**: Store user information, face images, and attendance records in an SQLite database.\n- **Attendance Records**: Ensure attendance is recorded at most once per day per subject.\n- **Temporary Face Storage**: Temporarily store face images before converting them to Base64 for database storage.\n- **Program and Subject Management**: Manage different programs and subjects for accurate attendance tracking.\n\n## Requirements\n\n- Python 3.10+\n- OpenCV\n- SQLAlchemy\n- scikit-learn\n- joblib\n- numpy\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n   git clone https://github.com/codewithdark-git/Attendance-Management-System.git\n    cd Attendance-Management-System\n    ```\n\n2. Install the required packages:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Initialize the database:\n\n    ```bash\n    python -c \"from models import create_tables; create_tables()\"\n    ```\n\n## Usage\n\nRun the main application:\n\n```bash\npython -m AttendanceSystem.main\n```\n\n### Operations\n\nThe application supports the following operations:\n\n1. **Add New User**:\n    - Prompts for user details and captures face images to add a new user to the system.\n\n2. **Start Attendance**:\n    - Initiates the attendance process for a specified program and subject. Captures face images and records attendance for identified users.\n\n3. **Get Attendance**:\n    - Retrieves and displays attendance records for a specified program and subject.\n\n4. **Exit**:\n    - Exits the application.\n\n### Example Workflow\n\n1. **Add New User**:\n\n    ```bash\n    Enter operation ('add', 'start', 'get' or 'exit'): add\n    Enter new user name (format: Firstname_Lastname): John_Doe\n    Enter new user ID: JD123\n    Enter Your Program name: BSAI\n    ```\n\n    The application will capture face images from the webcam and store them in the database.\n\n2. **Start Attendance**:\n\n    ```bash\n    Enter operation ('add', 'start', 'get' or 'exit'): start\n    Enter Your Program name: BSAI\n    Enter your Subject for Attendance: Maths\n    ```\n\n    The application will use the webcam to identify users and record their attendance.\n\n3. **Get Attendance**:\n\n    ```bash\n    Enter operation ('add', 'start', 'get' or 'exit'): get\n    Enter Your Program name: BSAI\n    Enter your Subject: Maths\n    ```\n\n    The application will display the attendance records for the specified program and subject.\n\n## Project Structure\n\n- `AttendanceSystem/`\n  - `__init__.py`\n  - `attendance/`\n    - `attendance_manager.py`\n  - `config.py`\n  - `face_recognition/`\n    - `face_detection.py`\n    - `face_identification.py`\n    - `face_training.py`\n  - `main.py`\n  - `models.py`\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Acknowledgements\n\n- This project uses [OpenCV](https://opencv.org/) for image processing and face detection.\n- Face recognition is implemented using the [scikit-learn](https://scikit-learn.org/) library.\n\n```\n\nThis README file provides a comprehensive guide to understanding, installing, and using the face recognition attendance system. It covers the project's features, installation steps, usage instructions, and an example workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdark-git%2Fattendance-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithdark-git%2Fattendance-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdark-git%2Fattendance-management-system/lists"}