Skip to content

A Python script that sends alert on email or on WhatsApp when someone is detected in live footage 🚷

Notifications You must be signed in to change notification settings

YashIndane/securecam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Python script that sends alert on email or on Whatsapp when someone is detected in live footage.

Usage-

Export the sender's details-

$ export EMAIL_ADDRESS=<VALUE>
$ export EMAIL_PASSWORD=<VALUE>

IPWEBCAM-MODE

$ sudo python3 -E final.py --mode <email/whatsapp> --imode=1 --ipwebcam <webcam-address>

SYSTEMWEBCAM-MODE

$ sudo python3 -E final.py --mode <email/whatsapp> --imode=0

Provide command line arguments --recipient_email or --recipient_contact according to mode selected.

It uses IP Webcam App for video input.

Google Playstore link - link

Requirement for senders email-

Step1: Enable 2 step authentication

go to home page> tap on name icon> manage your google acocount> security> under signing in to google> 2-step verification

Step2: Create app password

go to home page> tap on name icon> manage your google acocount> security> under signing in to google> App password> click on select device and select other(Custom)> give any name and click generate

About

A Python script that sends alert on email or on WhatsApp when someone is detected in live footage 🚷

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages