Aryan-Chharia / Computer-Vision-Projects

Check out my Computer Vision Repository for projects showcasing advanced image processing techniques like object detection, image stitching, and segmentation using Python and OpenCV. Whether you're a researcher, developer, or enthusiast, you'll find comprehensive insights and practical implementations to advance your computer vision skills.
GNU General Public License v3.0
54 stars 103 forks source link

Weapon Detection System #210

Closed venkat-2811 closed 1 month ago

venkat-2811 commented 1 month ago

Related Issue

This PR addresses #51 & Closes #51

Description

Weapon Detection Using YOLOv3

Project Overview

This project utilizes the YOLOv3 (You Only Look Once) algorithm for real-time weapon detection. The code supports two modes of operation:

  1. Webcam-based weapon detection: Uses the webcam to detect weapons in real-time.
  2. Video file-based weapon detection: Uses a pre-recorded video file to detect weapons.

Features

Technologies and Libraries Used

Type of PR

Screenshots / videos (if applicable)

The following image demonstrates the output of the YOLOv3 model, showing bounding boxes and labels for detected objects:

341933578-7d7e3f96-2c43-4b0e-a6f4-9a0ec38037ae

Checklist:

Additional context:

Customization

You can customize the detection thresholds and other parameters within the script to suit your specific requirements. Detailed comments within the code will guide you through making these adjustments.

Contact

For further assistance or inquiries, please reach out via the repository's contact information.

DESCRIPTION

This project is a real-time weapon detection system utilizing OpenCV and YOLO (You Only Look Once) object detection framework. The system is designed to detect various weapons such as knives, guns, and bombs using a pre-trained YOLOv3 model. The implementation involves loading the YOLO model with custom-trained weights and configuration files, capturing live video feed from the camera, and processing each frame to detect and highlight weapons. The detection results are displayed on the screen with bounding boxes and labels around the detected weapons. This tool is potentially useful for enhancing security measures in public spaces by providing an automated method for weapon detection.

341661359-02732cda-5175-47bc-86ef-31f15307e2f0