Skip to content

aaronmorannn/facial-recognition

Repository files navigation

Facial Recognition and Temperature Detection

Aaron Moran  

Arnas Steponavicius  

Thomas Kenny

Gitpod Ready-to-Code

Requirements

The requirements needed for this project are as follows :

  • Python 3.3+

  • Linux, Windows, MacOS

  • Django

  • Latest version of pip

Installation

Installing Packages on Mac or Linux follow the instructions below

Then you are required to install the following python module (Make sure you are using the latest version of pip):

pip3 install django
pip3 install opencv-python
pip3 install Pillow
pip3 install face_recognition

Installing Packages on Windows

Currently the packages for face_recognition are not fully supported on Windows, to get around this issue you must follows the instructions below.

Running the Application Locally

  1. Navigate to directory

    $ cd \facial-recognition\facialrecognition
    
  2. Make migrations of the required models and tables needed to run the program.

    $ python manage.py makemigrations
    
  3. Perform Migrations.

    $ python manage.py migrate
    
  4. Create a super user to access administrator controls and dashboard.

    $ python manage.py createsuperuser
    
  5. Run the program.

    $ python manage.py runserver
    
  6. Make sure to navigate in your browser to 'http://localhost:8000/' to view the application.

  7. To access the admin type the following into the browser while the server is running - 'http://localhost:8000/admin'. This page will display the database and allow the admin to edit user's accounts.

  8. Press CTRL-C to stop the process.

Acknowledgments: