Giter Site home page Giter Site logo

shudiamonds / security-camera Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.81 MB

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.

Python 100.00%
opencv security-camera motion-detection raspberry-pi gmail-smtp shu-machine-learning-data

security-camera's Introduction

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

security-camera's People

Contributors

shudiamonds avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

anish2690

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.