For Graphical User Interface Version, click here (It runs slower than this, but it is much easier to use and looks far better 😃)
- Check Camera 📷
- Capture Faces
- Train Faces
- Recognize Faces & Attendance
- Automatic Email 📧
Build With -
- Python 3.8
Module Used -
All The Module are Latest Version.
- OpenCV Contrib 4.0.1
- Pillow
- Numpy
- Pandas
- Shutil
- CSV
- yagmail
Face Recognition Algorithms -
- Haar Cascade
- LBPH (Local Binary Pattern Histogram)
Software Used -
- Pycharm 2020.2
1. Install PyCharm 2020.2 from here : https://www.jetbrains.com/pycharm/download/
First Download or Clone the Project on Your Local Machine.To download the project from github press Download Zip
or
You can clone the project with git bash.To clone the project using git bash first open the git bash and write the following code
git clone https://github.com/AdeetyaU/Face-Recognition-Attendance-Program.git
python -m venv env
Then activate the enviroment using the code below for windows.
.\env\Scripts\activate
[ PS: If you have any issues with your venv, check this article then: (https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) ]
After creating the enviroment on your project let's install the necessary packages.
You simply need to run the following command in terminal, and it automatically installs the required packages for you:
py setup.py
If you get an error message, you need to manually install the package:
To install those package open the terminal or command line and paste the code from below
pip install opencv-contrib-python
pip install numpy
pip install pandas
pip install Pillow
pip install pytest-shutil
pip install python-csv
pip install yagmail
After creating the enviroment and installing the packages, open the terminal to run the program. Using the code below.
py main.py
Answer: Press the key q on your keyboard
Answer: Yes it does.
Answer: Try searching for unofficial dependencies and download them, then run CMD on that. Although this scenario is quite rare.
Answer: It is saved in the Attendance folder in a CSV format, you can open it using Excel
Answer: Check the lower left of your screen. Click on the Terminal button to open it up.
Answer: This is written in python, therefore compiling it will take sometime depending on your computer's CPU speed!
Answer: In PyCharm, click on File > Open Project > select Face-Recognition-Attendance-Program
Answer: No, however I highly reccomend it.
Answer: No it is not necessary, you can use VSCODE; however, I highly suggest using PyCharm for best results.
Answer: Make a pull request or raise an issue, and I'll get back to you as soon as possible! 😃
Thanks to KMHMubin for the initial source code ! This is an updated version of the FRAS project, with a stricter (and more accurate) face detection algorithm and multiple glitch fixes!
Adding a GUI to make it look better 😲