Skip to content

Django Mask Detection app based on computer vision and deep learning using OpenCV and Pytorch

Notifications You must be signed in to change notification settings

Kropekkk/Mask-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mask-Detection

Mask Detection app

Dataset: https://www.kaggle.com/datasets/andrewmvd/face-mask-detection

Example

Dependencies

  • Pytorch
  • OpenCV
  • Django, FastAPI (2 different branches)
  • Faster R-CNN ResNet 50

Setup

  1. Create virtual environment python -m venv enviro
  2. Activate the virtual environment.\enviro\Scripts\activate
  3. Install dependencies pip install -r requirements.txt

Usage

  1. Train the model (Remember to clone dataset and and set the parameters in config.py)
 python train.py
  1. Run the app (If Django)
 python manage.py runserver

About

Django Mask Detection app based on computer vision and deep learning using OpenCV and Pytorch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published