Skip to content

Yukti007/Object-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Object-Detection using OpenCV

This repository contains code for object detection using a pre-trained deep learning model with OpenCV's dnn module. It reads a video file, detects objects, and draws bounding boxes with labels around detected objects. The project also computes the frame-per-second (FPS) value to show real-time detection performance.

Features

  • Object detection using deep learning with OpenCV's DNN module.
  • Non-Maximum Suppression (NMS) for eliminating overlapping bounding boxes.
  • Display bounding boxes and class labels with confidence scores.
  • FPS calculation for performance measurement.
  • Customizable model, configuration, and class file paths.

Installation

1 Clone the repository:

git clone https://github.com/Yukti007/Object-Detection.git

2 Install the required dependencies:

pip install opencv-python opencv-python-headless numpy

3 Ensure you have the following files:

  • Pre-trained Model (e.g., .weights or .caffemodel)
  • Model Configuration (e.g., .cfg file)
  • Class Labels (e.g., .txt file containing the names of classes)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages