Skip to content

A system to detect non-adopted persons using a deep learning model, identify faces, and record work logs

Notifications You must be signed in to change notification settings

tamasino52/Helmet_detection_and_facial_recognition

Repository files navigation

Helmet Detection and Facial Recognition

Hits

A system that checks whether workers wear safety helmets through CCTVs at construction sites and reflects them to DB in real time.

Requirements

python=3.6

pip install face_recognition
pip install opencv-python

Face Registering

If you are not registered in database, system will ignore detection of your face. So, you need to register your face before execute run.py Be careful, '--id' option value must be unique.

python face_register.py your_name --id 1

After you execute face_register.py, Check about red box around your face. If there is red box, press 's' button to register your identity into database.

Run

python run.py

Red box means that you did not wear helmet, Blue box means that you wearied a helmet.

If you want to modify DB

python DBmanager.py

We give you console to manage DB. Check a helplist.

About

A system to detect non-adopted persons using a deep learning model, identify faces, and record work logs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages