Skip to content

ahsanhttps/Safetix-

Repository files navigation

Helmet Detection Video Script

This script leverages YOLOv8 for real-time helmet detection in video feeds. It identifies helmets within video frames and provides visual feedback by drawing bounding boxes around detected helmets.

Features

  • Real-time Detection: Detects helmets in real-time from video input.
  • Device Compatibility: Automatically selects the GPU if available; otherwise, it falls back to the CPU.
  • Visual Feedback: Draws bounding boxes around detected helmets with confidence scores.

Setup Instructions

1. Prerequisites

Ensure that the following libraries are installed:

pip install opencv-python-headless torch ultralytics ttkthemes pillow

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors