This repository contains two main tools:
- ROI Selector Tool: A graphical tool to help users easily select a Region of Interest (ROI) from the screen.
- IP Camera Motion Detection Tool: A CCTV-like system that monitors an IP camera feed for motion within the defined ROI and sends alerts via Telegram.
- Graphically select the Region of Interest (ROI) on your screen.
- Print the start and end coordinates of the ROI for use in motion detection.
- Simplifies the process of defining an ROI for motion detection.
- Monitor an IP camera stream: Detect motion in a specified area of the video feed (ROI).
- Send Telegram alerts: When motion is detected, a snapshot of the frame is sent to a Telegram chat.
- Configurable settings: Set up the Telegram Bot Token, IP Camera URL, and ROI coordinates via environment variables.
- Efficient motion detection: Only monitors motion within the defined ROI to minimize unnecessary alerts.
To get Chat ID visit @GetMyChatID_Bot Now you will copy the chat Id and config it.
To access the bot @SecurityAlertBot and START it.
git clone https://github.com/whitehatboy005/Motion-Detection-Alert-System-for-CCTV
cd Motion-Detection-Alert-System-for-CCTV
pip install -r requirements.txt
python ROI_point_finder.py
notepad config.env
Start it --> @SecurityAlertBot
python CCTV_Alert.py
Type [/check] Then check it out.
Check on this repository https://github.com/whitehatboy005/Motion-Detection-Alert-System-for-Webcam
Contributions are welcome! If you have any suggestions for improvements or bug fixes, feel free to submit a pull request.
This project is licensed under the terms of the MIT license.