Skip to content

Motion Detection Security System A Python-based motion detection script using OpenCV designed for security systems. The script captures video from the webcam, detects motion, and triggers an audible alarm when motion is detected.

Notifications You must be signed in to change notification settings

Asta1984/Motion-Detection-using-openCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Motion Detection Security System

This repository contains a simple motion detection script using OpenCV. The script captures video from the webcam and detects significant changes in the frame, triggering an alarm when motion is detected.

Features

  • Detects motion in the video feed.
  • Triggers an audible alarm when motion is detected.
  • Switches between normal and alarm mode with a keypress.
  • Adjustable sensitivity and frame size.

Requirements

  • Python 3.x
  • OpenCV
  • imutils

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/motion-detection-security-system.git
    cd motion-detection-security-system
    
  2. Install the required packages:
    pip install -r requirements.txt
    

Controls

-Press t to toggle alarm mode. -Press q to quit the application.

Configuration

You can adjust the frame size and alarm sensitivity by modifying the respective variables in the script.

About

Motion Detection Security System A Python-based motion detection script using OpenCV designed for security systems. The script captures video from the webcam, detects motion, and triggers an audible alarm when motion is detected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages