Coder Social home page Coder Social logo

motion-cctv's Introduction

Motion-CCTV

Motion Recognizing CCTV System, uploads images to a webserver that can be accessed from any browser, even mobile.

Usage

Python Script

  1. Have any camera input on a device (I am using an outdoor security camera connected to a Raspberry Pi 3)
  2. Have a Python 3 installation and install the requirements in requirements.txt
  3. Run Main.Py and leave this running

Web Interface

  1. Put the entirity of the ./web/ folder on the root of your host
  2. Fill in the information in config.ini (Webhost details & DB connection details)
  3. Replace the text in ./web/dbConfig.php with the DB connection details
  4. Setup a table in the database named members with username and password fields
  5. You will then be able to login to your site through the main URL to access image uploads.

The python script requires an active internet connection and will upload images when the camera feed detects motion to your webhost in the ./images/ folder, which live update on the website. It counts 'motion' as enough of a change between two frames at 30fps, not tested with any other fps than the 29.97fps input from my camera but it shouldnt have any problems.

Credits

Thanks to Chris (@Whyssp) for help originally setting up the DB connection.

Originally written as a part of a Computer Science course but expanded as I used it for personal use.

*Removed the CSS files are they are causing havoc with the way Github reads language %, will re-upload once I clean them up

motion-cctv's People

Contributors

brendonsanderson avatar

Stargazers

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