biswadeep-roy / Safety-Detection-YOLOv8

It's a cutting-edge object detection model, to enhance safety measures by identifying and classifying objects related to personal protective equipment
MIT License
7 stars 3 forks source link
machine-learning python safety safety-monitoring ultralytics yolo yolov8

Safety Detection with YOLOv8

![Safety Detection YOLOv8] image

Overview

Welcome to the Safety Detection YOLOv8 project! This initiative leverages YOLOv8, a cutting-edge object detection model, to enhance safety measures by identifying and classifying objects related to personal protective equipment (PPE). The primary objective is to ensure compliance with safety standards in various environments.

Table of Contents

Introduction

Safety Detection YOLOv8 is an advanced computer vision project designed for real-time object detection. By employing YOLOv8, the model identifies various safety-related objects such as hardhats, masks, safety vests, and more..

Features

Getting Started

Prerequisites

Ensure you have the following installed on your system:

Installation

  1. Clone the repository:

    git clone https://github.com/biswadeep-roy/Safety-Detection-YOLOv8.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Download the pre-trained model file (ppe.pt) from the following link:

    Download ppe.pt

  4. Place the downloaded ppe.pt file in the project's root directory.

Usage

  1. Confirm that your webcam or video source is accessible.

  2. Run the main script:

    python safety_detection.py
  3. Observe real-time safety detection results on the displayed video stream.

Customization

To tailor the project to specific use cases or add new objects for detection, follow these steps:

  1. Update the classNames list in the script with the desired object classes.
  2. Fine-tune the YOLOv8 model on a dataset that includes the new classes.
  3. Adjust confidence thresholds or color codes in the script according to your requirements.

Results

![Demo Image](![image] image )

(Include images or GIFs showcasing the model's performance and compliance detection.)

Contributing

Contributions are welcomed! Please adhere to our contribution guidelines for a smooth collaboration.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments