Coder Social home page Coder Social logo

securaspy's Introduction

Securaspy

Some l33t code to record ding-dong ditchers at my house

Motivation

Ever get tired of people ding dong ditching your house? Now you can create a system that will record these little rascals so you can tell them to get off your lawn!

Not only am I motivated by ding dong ditchers, but am also looking into digital image processing techniques. More specfically motion detection and tracking.

Materials

  • Raspberry Pi 3
  • Raspberry Pi compatible camera
  • HC-SR04 Ultrasonic Range finder
  • Breadboard
  • Jumper wires

Methodology

There are two python files within this repository:

sensor.py

This python script makes use of a ultrasonic range finder in order to detect obstacles in the path. The ultrasonic was used to test the camera on a Raspberry Pi. Wiring for the ultrasonic range finder was completed using this image.

motion.py

Motion.py uses OpenCV to analyze frame by frame images for motion. It makes use of background subtractions and Guassian Blur to detect motion within an image. The code for this was inspired by an online tutorial here

Setup

Prerequisites

In order to run the code one must have the following installed on their Pi:

  • Python 2.7+ (Installed on Raspbian by default)
  • OpenCV for Raspbian or other ARM OS
  • PiCamera library (Installed on Raspbian by default)

Installing OpenCV for

The installation of OpenCV is not trivial in regard to the Raspbian OS. A useful tutorial I used was found at this link: Install OpenCV for Raspberry Pi

securaspy's People

Contributors

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