Giter VIP home page Giter VIP logo

engage_project's Introduction

Face_Recognition_Project

This project can detect the live faces of the students and mark their attendance in the csv file. This project will detect the live faces through the webcam by searching the face in the 'Images' folder and after detecting the face it will create the new csv file for that day and the name, current time and the current date of the detected person will be recorded in that file.

Project Description

This is face recognition project which is used to mark the attendance of the students in schools and colleges. The entire code is written in python and for storing the data csv file is used and tkinter is used for the gui part and to detect the face firstly i have stored the data of some students in the 'Images' folder and named their images with their actual name. The images saved get encoded and then during the detection process the webcam opens and then based on the encodings the name of the student will be shown in the rectangular box at the bottom of the face of the student. After the detection process, the data get stored in the attendence.csv file of that particular day.

Steps to Run the Project

1.Install python-3.10.4 (64 bit) or above from 'https://www.python.org/downloads/' and add the PATH to your user and System Variables under Environment variables.

2.Install VISUAL STUDIO Community Edition from 'https://visualstudio.microsoft.com/downloads/' and install plugins for PYTHON development and C++ Desktop Development(important).

3.Packages to install to run the code

-> opencv-python (pip install opencv-python)

-> numpy (pip install numpy)

-> cmake (pip install cmake)

-> dlib (pip install https://github.com/jloh02/dlib/releases/download/v19.22/dlib-19.22.99-cp310-cp310-win_amd64.whl)

-> face-recognition (pip install face_recognition)

-> datetime (pip install datetime)

-> pillow (pip install pillow)

to install all the above packages open the command prompt and type the command written in the bracket in front of each.

4.Clone my git repository to a directory in your device using : git clone command.

Screenshot (4)

copy the link and open the git bash in the new directory created for this project and write git clone (paste the url copied above).

5.Run the code file- main.py in your visual stdio.When we will run the code firstly the mylist will be printed and them the name of all the all the students present in the Images folder and then after that webcam opens and start detecting the face of the students and when the face got detected 'Welcome' will be printed in the terminal.

Screenshot (7)

6.Now to check whether the attendance got marked or not we will open the csv file of that particular day to check the name of students present on that day. Screenshot (6)

Note

-> To recognize new faces through the webcam add clear front facing images of the new faces in the 'Images' folder with the name of the image renamed to the name of the Person.

-> The attendance of one students will be marked only once in the day regardless of their multiple time detection by the webcam.

-> If the csv file for that day is already created then it will open in the read append mode otherwise it will be opened in the write and append mode and the new file is created for storing the data of the students.

engage_project's People

Contributors

ssanskriti-25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.