image-processing-based-motion-sensing-with-telegram
Final Project
https://github.com/nivi2407/image-processing-based-motion-sensing-with-telegram
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.9%) to scientific vocabulary
Keywords
Repository
Final Project
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Image Processing-Based Motion Sensing with Telegram
Real-time object detection and motion alerts via Telegram
Image Processing-Based Motion Sensing with Telegram is an intelligent surveillance system built using Python, OpenCV, and deep learning. It leverages real-time video processing and object detection to identify motion from humans, cats, and dogs, and sends automated alerts (images or videos) directly to a Telegram chat via a bot interface. This project is ideal for security, home automation, or pet monitoring applications, offering an interactive and responsive way to track activity through a simple yet powerful communication channel.
🚀 How It Works
- 📷 Capture: Continuously captures video frames.
- 🔍 Detect: Compares consecutive frames to detect motion.
- 📡 Notify: If motion is detected:
- Takes a snapshot.
- Sends a Telegram alert with the image.
✨ Key Features:
- ⏱️ Real-time motion detection
- 🧠 Frame differencing using OpenCV
- 🤖 Telegram bot integration for instant alerts
- 📸 Captures and sends a snapshot when motion is detected
- 💻 Lightweight – runs on Raspberry Pi or PC
⚙️ Setup instructions:
Clone the repository
bash
git clone https://github.com/nivi2407/Image-Processing-Based-Motion-Sensing-with-Telegram.git
cd Image-Processing-Based-Motion-Sensing-with-Telegram
Install dependencies:
bash
pip install opencv-python imutils numpy telepot
🤖 Telegram Bot Setup
- Go to @BotFather on Telegram.
- Type
/newbotand follow the prompts. - Copy the Bot Token given by BotFather.
- Get your Chat ID via @userinfobot.
python
BOT_TOKEN = 'your-telegram-bot-token'
CHAT_ID = 'your-chat-id'
Commands to use:
| Command | Description |
|----------|-----------------------------------|
| /image | Captures and sends a frame |
| /video | Sends a 10-second video clip |
| /help | Lists available commands |
Snapshots:
| Cat Detection | Dog Detection |
|---------------|---------------|
| |
|
| Image Retrieval | Video Retreival |
|------------------|------------------|
| |
|
🧰 Technologies Used
| Area | Technology | |------------------------|----------------------------| | Programming Language | Python | | Computer Vision | OpenCV, imutils | | Deep Learning Model | MobileNet SSD (Caffe) | | Bot Integration | Telegram + telepot | | Utilities | NumPy, time, datetime |
📖 Citation
Owner
- Login: nivi2407
- Kind: user
- Repositories: 1
- Profile: https://github.com/nivi2407
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this project, please cite it as follows:"
title: "Image processing based motion sensing with telegram chat-bot"
version: "2.0.4"
type: software
authors:
- family-names: Nivetha
given-names: S.
- family-names: Harija
given-names: S.
- family-names: Ragavi
given-names: S.
- family-names: Lalitha
given-names: K.
doi: "10.1063/5.0203719"
url: "https://doi.org/10.1063/5.0203719"
repository-code: "https://github.com/nivi2407/Image-Processing-Based-Motion-Sensing-with-Telegram"
date-released: 2024-05-01
license: "MIT"
preferred-citation:
type: software
title: "Image processing based motion sensing with telegram chat-bot"
authors:
- family-names: Nivetha
given-names: S.
- family-names: Harija
given-names: S.
- family-names: Ragavi
given-names: S.
- family-names: Lalitha
given-names: K.
doi: "10.1063/5.0203719"
url: "https://doi.org/10.1063/5.0203719"
GitHub Events
Total
- Watch event: 1
- Push event: 6
Last Year
- Watch event: 1
- Push event: 6
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0