Downloads · 30 days
0
FatimaNoorAI/ppe-helmet-detection-yolov8
ppe-helmet-detection-yolov8 is a machine learning model from FatimaNoorAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project detects Personal Protective Equipment (PPE) such as helmets, vests, and gloves in videos using the YOLO (You Only Look Once) model. It leverages ultralytics for YOLO inference and OpenCV for video process…
Downloads · 30 days
0
Access
Public
Updated Aug 24, 2026
Repo size
6.3 MB
Likes
0
Public
Click a slice to open those files.
.pt6.3 MB · 100%
From the Hugging Face model README
This project detects Personal Protective Equipment (PPE) such as helmets, vests, and gloves in videos using the YOLO (You Only Look Once) model. It leverages ultralytics for YOLO inference and OpenCV for video processing.
Before running the project, ensure you have the following dependencies installed:
Follow these steps to set up and run the project:
pip install ultralytics opencv-python numpy
git clone https://github.com/your-username/GearDetection.git
cd GearDetection
pip install ultralytics opencv-python numpy
The project is structured as follows:
GearDetection/
├── best.pt # Pre-trained YOLO model (replace with actual model file)
├── worker.mp4 # Sample video for detection
├── detect.py # Main script for detection
├── README.md # Project documentation
Run the following command to start detection:
python detect.py
Upon running the script, the model will detect PPE and display bounding boxes over detected objects:
best.pt is correctly placed inside the project folder.scale = 0.3 in detect.py to adjust the display size.worker.mp4 with your own video for testing.ModuleNotFoundError: No module named 'ultralytics'pip install ultralytics
Contributions are welcome! If you’d like to contribute:
This project is open-source and available under the MIT License.