How to Create Neural Network for Recognizing Masks
[Part2] - Training & recognition
Neural network that could process images, video footage and recognize people wearing masks
[Part2] - Training & recognition
- Python 3.6+
- Tensorflow 2 nightly
- OpenCV-python
- Modified YoloV3
$ activate yolo3 # in linux "source activate yolo3"
(yolo3) $ pip install -r requirements.txt
(yolo3) $ pip install -e .
// ==================== Training ========================
python src/train_eager.py -c configs/mask_500.json
// ==================== Picture =========================
python src/pred.py -c configs/mask_500.json -i imgs/1.jpg
// ===================== Video ==========================
python video.py -c configs/mask_500.json -i video.mp4
// ==================== Benchmark =======================
python src/eval.py -c configs/mask_500.json
- Fulcrum
- Email: hello@fulcrum.rocks
- Website: fulcrum.rocks
- Blog: blog.fulcrum.rocks
- Serhii Kalachnikov
- Email: serhii@fulcrum.rocks
- Linkedin: Serhii Kalachnikov
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.