Monitors my couch for canine intruders
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dev
osx
raspbian
sauron
.gitignore
README.md
requirements.txt

README.md

The Eye of Sauron

An attempt to stop my dog from sleeping on my couch while I'm out of the apartment.

Background

My dog Angus realised that he can sleep on the couch when nobody's home to yell at him. This program implements a very basic monitoring system that watches the couch and yells at him if it detects him lying there.

Implementation

I've mounted a webcam on top of my TV, pointed it at the couch, and plugged it into a Raspberry Pi. The Pi runs this program, built with Python 2.7 and OpenCV.

So far I've only implemented basic motion detection:

Ultimately I plan to use the TV as an alarm system, triggering an unpleasantly loud or high-pitched sound when Angus jumps onto the couch.

References