https://github.com/mustafaozvardar/security-camera-opencv
This is a simple Python-based security camera application that uses motion detection. It captures video from your webcam, detects any movement, and triggers a beep sound when significant motion is detected.
https://github.com/mustafaozvardar/security-camera-opencv
artificial-intelligence computer-vision opencv opencv-python python
Last synced: about 1 month ago
JSON representation
This is a simple Python-based security camera application that uses motion detection. It captures video from your webcam, detects any movement, and triggers a beep sound when significant motion is detected.
- Host: GitHub
- URL: https://github.com/mustafaozvardar/security-camera-opencv
- Owner: mustafaozvardar
- License: mit
- Created: 2024-08-12T10:49:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T21:42:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T01:54:25.202Z (over 1 year ago)
- Topics: artificial-intelligence, computer-vision, opencv, opencv-python, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
- Security: security_camera.py
Awesome Lists containing this project
README
# 🎥 Motion Detection Security Camera
This is a simple Python-based security camera application that uses motion detection. It captures video from your webcam, detects any movement, and triggers a beep sound when significant motion is detected.
## Features ✨
- 📷 Captures video from your webcam in real-time.
- 🎯 Detects motion by comparing consecutive video frames.
- 🔊 Triggers a beep sound when significant motion is detected.
- 🛑 Easy to stop by pressing the `Esc` key.
## Requirements 📦
- Python 3.x
- `opencv-python` library
- `winsound` module (built-in with Python on Windows)
- A working webcam
## Installation 🚀
1. Clone the repository:
```bash
git clone https://github.com/yourusername/motion-detection-camera.git
cd motion-detection-camera
```
2. Install the required library:
```bash
pip install opencv-python
```
## Usage 🎤
1. Run the script:
```bash
python security_camera.py
```
2. The application will start capturing video from your webcam. When it detects significant motion, it will trigger a beep sound to alert you.
3. To stop the application, press the `Esc` key.
## Troubleshooting 🛠️
- Ensure your webcam is properly connected and recognized by your computer.
- The script may require adjustments based on lighting conditions and sensitivity.
## License 📜
This project is licensed under the MIT License - see the LICENSE file for details.