-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,55 @@ | ||
**What steps you have to follow??** | ||
Download or clone my Repository to your device | ||
type pip install -r requirements.txt in command prompt(this will install required package for project) | ||
Create a TrainingImage folder in a project folder. | ||
open attendance.py and automaticAttendance.py, change all the path accoriding to your system | ||
Run attandance.py file | ||
**Project flow & explaination** | ||
After you run the project | ||
After you click a small window will pop up in that you have to enter you ID and name and then click on Take Image button | ||
After clicking Take Image button A camera window will pop up and it will detect your Face and take upto 50 Images(you can change the number of Image it can take) and stored in the folder named TrainingImage. more you give the image to system, the better it will perform while recognising the face. | ||
Then you have to click on Train Image button, It will train the model and convert all the Image into numeric format so that computer can understand. we are training the image so that next time when we will show the same face to the computer it will easily identify the face. | ||
It will take some time(depends on you system). | ||
After training model click on Automatic Attendance ,you have to enter the subject name and then it can fill attendace by your face using our trained model. | ||
it will create .csv file for every subject you enter and seperate every .csv file accoriding the subject | ||
You can view the attendance after clicking View Attendance button. It will show record in tabular format. | ||
# Face Recognition Attendance System | ||
|
||
## Steps to Set Up and Run the Project | ||
|
||
1. **Download or Clone the Repository** | ||
- Clone this repository to your local machine or download it as a ZIP file and extract it. | ||
|
||
2. **Install Dependencies** | ||
- Open a command prompt and navigate to the project folder. | ||
- Run the following command to install the required packages: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
3. **Create a `TrainingImage` Folder** | ||
- In the project directory, create a folder named `TrainingImage`. | ||
|
||
4. **Update File Paths** | ||
- Open `attendance.py` and `automaticAttendance.py`. | ||
- Update all file paths in the scripts to match the paths on your system. | ||
|
||
5. **Run the Project** | ||
- Execute the `attendance.py` file to start the application. | ||
|
||
## Project Flow and Explanation | ||
|
||
### 1. Registering a New Student | ||
- After launching the application, click on the **Register New Student** button. | ||
- A small window will pop up where you can enter the student's ID and name. | ||
- Click on the **Take Image** button. | ||
- This will open a camera window. | ||
- The system will detect your face and capture up to 50 images (you can modify the code to change this number). | ||
- The images will be stored in the `TrainingImage` folder. | ||
- **Tip:** The more images you provide, the better the system's face recognition performance will be. | ||
|
||
### 2. Training the Model | ||
- Click on the **Train Image** button. | ||
- This will train the model and convert the captured images into numeric format, which the computer can understand. | ||
- The training process duration depends on your system's performance. | ||
### 3. Taking Attendance | ||
- Click on the **Automatic Attendance** button. | ||
- Enter the subject name. | ||
- The system will use the trained model to recognize faces and mark attendance automatically. | ||
- Attendance data will be saved as a `.csv` file, with separate files created for each subject. | ||
### 4. Viewing Attendance | ||
- Click on the **View Attendance** button. | ||
- Attendance records will be displayed in a tabular format for easy review. | ||
## Notes | ||
- Ensure that the camera on your system is functional and properly configured. | ||
- Update paths and configuration details to align with your environment. | ||
Enjoy using the Face Recognition Attendance System! |