Skip to content

This python code is a security camera program using USB Web Cam. in this product. The system output the mp4 video which is captured with "difference extraction" technology.

Notifications You must be signed in to change notification settings

ShuDiamonds/Security-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Security-camera

This python code is a security camera program using USB Web Cam. in this product. The system output the avi video which is captured with difference extraction technology.

Main Features

  • Strong Reduction of its SD memory occupation with difference extraction Technology.
  • Reporting a daily bulletin through on Gmail.
  • Supervise the main program by reporting.py.
  • Delete one week ago camera data automatically.

System Overview

Requirement

  • Raspberry pi 3
  • ubuntu16.04
  • Python 3.x
  • Opencv
  • Web Camera x2

Setting

demo2.py property

  • image size adjust heght and width variables.

reporting.py property

Set the email infomation to send a daily report through on gmail.

from_email = "[email protected]" # 送信元のアドレス
to_email = "[email protected]" # 送りたい先のアドレス
username = "[email protected]"           # Gmailのアドレス
password = "mygmailpassword"            # Gmailのパスワード

and you have to lower its Google Security level (if not doing that, you can't send email from gmail and recieve the security alart mail from google).

Usage

Basic Example

$ python3 demo2.py

report program example

This program provides three function,Reporting on gmail,deleting one week ago camera data, program activity check (every one hour).

$ python3 reporting.py

Licence

MIT

Related Articles

Author

ShuDiamonds

About

This python code is a security camera program using USB Web Cam. in this product. The system output the mp4 video which is captured with "difference extraction" technology.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages