Use of YOLOv5 for mask detection with notification via Telegram.
In the middle of a pandemic our team was thinking how uncomfortable it is to be indoors with people you don't live with and they don't wear a face mask.Therefore, we decided to make a mask detection project using YOLOv5 and associate it with the Telegram bot as a way to notify the non-use of the mask.
Instructions for use this repository:
- Clone the repo
git clone https://github.com/Felipehonorato1/mask_detection.git
- Install packages
pip install requirements.txt
cd yolov5/
python detect.py --weights runs/train/exp/weights/best.pt --source 0 --img-size 640 --conf-thres 0.25 --iou-thres 0.45 --device cpu --hide-labels --hide-conf