- Install dependencies
pip install -r requirements.txt
- Run the applications
python flaskapp.py
- Build image
docker build -t hard-helmet-detection-python .
- Run image
docker run -p 5000:5000 hard-helmet-detection-python
Using YOLOv8 to detect hard helmets, where if someone is recognized but doesn't use a helmet an alarm is triggered
Python