An open API service indexing awesome lists of open source software.

https://github.com/bharambetr2002/motion-detection-using-opencv

Motion detection using OpenCV: A Python script that utilizes OpenCV for real-time motion detection in video files, highlighting moving objects with bounding boxes.
https://github.com/bharambetr2002/motion-detection-using-opencv

opencv pyhton3

Last synced: about 2 months ago
JSON representation

Motion detection using OpenCV: A Python script that utilizes OpenCV for real-time motion detection in video files, highlighting moving objects with bounding boxes.

Awesome Lists containing this project

README

          

# Motion Detection using OpenCV

This Python project uses OpenCV to detect motion in a video file and draws bounding boxes around moving objects. It's a simple yet practical example of motion detection for various applications, including surveillance, security, and more.

## Features

- Motion detection using frame differencing and thresholding.
- Bounding boxes drawn around moving objects.
- Real-time monitoring of detected moments.
- User-friendly and easily customizable.

## How it Works

The code uses the following steps to detect motion in a video:

- Load a video file.
- Initialize the first frame and preprocess it.
- Continuously read frames, apply motion detection, and draw bounding boxes.
- Display the frames in real-time with detected moments.

## Prerequisites

Before running the code, make sure you have the following dependencies installed:

- Python 3.x
- OpenCV (Open Source Computer Vision Library)

You can install OpenCV using pip:

```shell
pip install opencv-python
```
## Contributors

[Tanmay Bharambe](https://github.com/bharambetr2002)