CoolFace
Apppublic

ayjee99/PPE-detection_app

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

PPE Detection App

This project is a Personal Protective Equipment (PPE) Detection System built using the YOLO model and Gradio for the user interface. The application allows users to upload images and detect various types of PPE present in the images.

Features

  • Upload an image to detect PPE.
  • Adjustable confidence threshold for detection.
  • Displays annotated images with detected PPE and a summary of detections.

Requirements

To run this application, you need to install the following dependencies:

  • Gradio
  • Ultralytics
  • NumPy
  • OpenCV
  • Pillow

You can install the required packages using the following command:

pip install -r requirements.txt

Running the App

  1. 1.Clone the repository or download the project files.
  2. 2.Navigate to the project directory.
  3. 3.Run the application using the command:
python app.py
  1. 1.Open the provided link in your web browser to access the Gradio interface.

Usage

  • Upload an image containing PPE.
  • Adjust the confidence threshold slider to set the desired detection sensitivity.
  • View the detection results and summary of detected PPE.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.