Git Product home page Git Product logo

security-cam's Introduction

Security Camera Application

This Python application uses PyQt5 and OpenCV to create a simple security camera system that monitors your webcam's feed. It detects motion in the camera's field of view and saves images when significant motion is detected.

Screenshot 2023-12-01 113159

Features Motion Detection: The application continuously captures frames from the webcam and detects motion using image differencing and contour analysis.

Image Capture: When motion is detected, the application captures the frame and saves it with a timestamp in the specified directory.

Audio Alert: An audio alert is triggered when motion is detected.

Adjustable Sensitivity: You can adjust the sensitivity level to control the minimum motion size required to trigger an alert.

Audio Volume Control: You can adjust the volume of the audio alert.

Usage Launch the application by running python security_camera.py.

Click the "Start Monitoring" button to begin monitoring your webcam feed.

Adjust the sensitivity level using the slider. A higher sensitivity value will detect smaller motions.

To adjust the audio volume, click the "Set Audio Volume" button and use the slider.

Click the "Exit" button to close the application.

When motion is detected, an alert sound is played, and the captured image is saved in the specified directory.

Configuration You can choose the directory where captured images are saved by clicking the "Choose Save Location" button and selecting a folder.

Requirements Python 3.x PyQt5 OpenCV numpy winsound



**Installation**

Clone this repository:

git clone https://github.com/biswadeep-roy/security-cam.git

Install the required dependencies:

pip install PyQt5 opencv-python numpy

Run the application:

python security_camera.py

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

security-cam's People

Contributors

biswadeep-roy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.