Giter Site home page Giter Site logo

vigneshcsengineer / hik-vision-cctv-camera-alert-with-python-using-twilio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

This Python script monitors an RTSP camera stream for motion detection and sends SMS alerts using Twilio when motion is detected. It uses OpenCV to process the video feed and detect motion in real-time, making it ideal for security and surveillance applications.

alert automation computer cv2 iot ip-cam motion-detection opencv python rtsp security sms streaming twilio vision realtimestreaming surveillence

hik-vision-cctv-camera-alert-with-python-using-twilio's Introduction

RTSP Camera Motion Detection with Twilio Alerts

This project is a Python script that monitors an RTSP stream from a camera for motion detection. When motion is detected, it sends an SMS alert using the Twilio API. The script processes the video stream in real-time using OpenCV and detects motion by comparing the current frame with the previous one.

About

This script is designed to monitor a live RTSP video stream from a camera and detect any motion. Upon detecting motion, it sends an SMS notification to a specified phone number using Twilio. This setup is ideal for security systems where real-time alerts are crucial. The script captures video frames, processes them to identify motion, and alerts the user by drawing a bounding box around the detected motion and sending an SMS.

Features

  • RTSP Stream Monitoring: Connects to an RTSP camera stream for real-time video feed.
  • Motion Detection: Uses frame differencing to detect motion.
  • SMS Alerts: Sends an SMS alert via Twilio when motion is detected.
  • Real-time Video Display: Shows the video feed and motion detection status in real-time.

Installation

1.Clone the repository:

git clone https://github.com/vigneshcsengineer/Hik-vision-cctv-camera-alert-with-python-using-twilio.git
cd Hik-vision-cctv-camera-alert-with-python-using-twilio
2.Install Required libraries
pip install opencv-python twilio
3.Configure Twilio credientials
4.Run the script
python motion_detection.py

hik-vision-cctv-camera-alert-with-python-using-twilio's People

Contributors

vigneshcsengineer 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.