Skip to content

anjarul/EAS-OpenCV-face_detection-python-django

 
 

Repository files navigation

Employee Attendance System by Real-Time Face Detection

  • Powered by Python, Django, and OpenCV.

OS support: Windows10 or Linux.

  • Some commands may differ depending on OS. Just google it.

Instructions:

  • Install latest version of Python

  • Install and active virtual environment directory

    1. Open cmd
    2. pip install virtualenv
    3. Choose destination: cd Desktop> virtualenv YourEnvironmentName
    4. cd YourEnvironmentName\Scripts>activate
    5. cd.. (exit from Scripts)
  • Clone this GitHub repository into your local virtual environment directory (YourEnvironmentName)

  • Go to project directory (GitHub repository) where 'manage.py' file exist

  • Install all the requirements using previously opened cmd where the virtual environment was activated:

    1. pip install -r requirements.txt
  • Run local server:

    1. python manage.py runserver

Type those URLs to the browser:

Run OpenCV Face Detection:

  • Go to project directory (GitHub repository) where 'manage.py' file exist
  • Go to openCV_face_recognition directory
  • Open cmd here
  • Type and Hit Enter:
    1. python facerecognition.py

Open both CMD (local server and face recognition) and API dashboard to monitoring the outputs

  • status code 201 = Attendance created
  • status code 200 = Attendance already exists
  • status code 404 = ERROR

Server cmd output

BackEnd server output

OpenCV cmd output

OpenCV server output

EAS Database

EAS Dashboard

Real-Time Attendance Creating

Real-Time Attendance Counting

API dashboard

API dashboard

API JSON

API JSON

Manual Input from browser (http://127.0.0.1:8000/user/input/)

Manual input

Verification matched for single object

Single object matching

All objects from the Database

Single object matching

About

Employee Attendance System by Real-Time Face Detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.6%
  • HTML 10.4%