Skip to content

Realtime webcam motion detection using OpenCV and Python

Notifications You must be signed in to change notification settings

LalSang/motion_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion_detection

Realtime webcam motion detection using OpenCV and Python

Webcam Motion Detection (OpenCV)

This project implements a real-time motion detection system using a webcam and classical computer vision techniques.

The program continuously captures frames from a webcam, compares consecutive frames to detect motion, and displays live video output. This project focuses on understanding core computer vision concepts such as frame differencing, noise reduction, and real-time video processing.

Features

  • Live webcam video capture
  • Continuous frame processing
  • Motion detection foundation (frame differencing)
  • Clean exit and resource handling

Tech Stack

  • Python
  • OpenCV
  • NumPy

How It Works

  1. Capture frames from the webcam
  2. Process frames in real time
  3. Detect changes between consecutive frames
  4. Display live video output

Getting Started

Install dependencies

pip install opencv-python numpy

About

Realtime webcam motion detection using OpenCV and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages