Mask Detection app
Dataset: https://www.kaggle.com/datasets/andrewmvd/face-mask-detection
- Pytorch
- OpenCV
- Django, FastAPI (2 different branches)
- Faster R-CNN ResNet 50
- Create virtual environment
python -m venv enviro
- Activate the virtual environment
.\enviro\Scripts\activate
- Install dependencies
pip install -r requirements.txt
- Train the model (Remember to clone dataset and and set the parameters in config.py)
python train.py
- Run the app (If Django)
python manage.py runserver