A Machine Learning-based program that can classify a teacher or a student in an open environment.
Clone the directory to your computer and create a virtual environment.
$ cd (Location of directory)
$ pip install -r requirements.txt
$ cd smart_gym
$ python manage.py runserver
New users can be added from the localhost webpage. A webcam will open and the user will need to rotate their head to get full coverage of their face.
- (When enough data is collected, press Q to close the webcam)
[The data is stored in this text file.]
Steps to run the facial recognition script:
$ cd (Location of directory)
$ cd smart_gym/home/facerecognition
$ python main.py
- To terminate main.py, press Q
All of the data gathered from the facial recognition model is logged into a csv file.
People in the GYM | Teacher Around | Time | ||
---|---|---|---|---|
Name | Time | Flag | Yes/No | 0 |