Skip to content

kumar11jr/object_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Object Detection using OpenCV

This repository contains code for performing object detection using OpenCV, a popular computer vision library. Object detection is a computer vision task that involves identifying and localizing objects within an image or video.

Prerequisites

Before running the code, make sure you have the following prerequisites installed on your system:

  • Python (3.6 or higher)
  • OpenCV (4.5 or higher)
  • NumPy (1.19 or higher)

You can install the required packages using pip:

Usage

  1. Clone the repository to your local machine:

  2. Navigate to the project directory:

  3. Run the object detection script:

For image:

For video:

The object detection script will use a pre-trained Haar Cascade classifier to detect objects in the specified image or video. Detected objects will be surrounded by rectangles in the output.

Haar Cascade Classifiers

The project uses Haar Cascade classifiers for object detection. Haar Cascade classifiers are a type of machine learning-based approach for detecting objects in images or video. The project provides a pre-trained Haar Cascade classifier for car detection.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, feel free to create a pull request or open an issue.

License

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

Releases

No releases published

Packages

No packages published