Skip to content

My first project using a webcam like resource, im excited to try, i'm thinking in use python for this project, but idk, my guess is, python is the best and fast language to make something like this.

Notifications You must be signed in to change notification settings

cajango-dev/face-mask-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-mask-detection


My first project using a webcam like resource, im excited to try, i'm thinking in use python for this project, but idk, my guess is, python is the best and fast language to make something like this.


Libraries for a project like this:

Opencv -> pip install opencv-python

Imutils -> pip install imutils

Numpy -> pip install numpy

Scipy -> pip install scipy

TensorFlow -> pip install tensorflow (Optional neural network)

Pytorch -> pip install torch torchvision (Optional neural network)

Mediapipe -> pip install mediapipe (Optional face detection easy way)


Project Setup (Using TensorFlow):

face-mask-detection/

requirements.txt # List of a project depedencies

main.py # Main file to run and real-time detect

train_model.py # Script to train models of mask detection

mask_detector.py # Inf func of the detection model

models/ # Directory to save the trained model

└── face_mask_model.keras # Detection model for trained mask

dataset/ # Directory for train data and tests (image of the face with/without mask)

├── with_mask/

└── without_mask/

README.md # Project Documentation


About

My first project using a webcam like resource, im excited to try, i'm thinking in use python for this project, but idk, my guess is, python is the best and fast language to make something like this.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages