Git Product home page Git Product logo

tacos's Introduction

TACOS

What?

TACOS (There's A Cat On the Sundeck) is a python script for detecting cats (and as a recent addition, other animals) on my sundeck. It does this by regularly taking pictures, uploading them to Amazon S3 and running object detection on them using Amazon Rekognition. If it finds a Cat (or an animal), it notifies those subscribed via Amazon SNS, with links to the picture in which it was detected, and some additional info if it was an animal.

But why?

Why not?

Running yourself

To run this for yourself, you need:

  • A Raspberry Pi
  • An internet connection
  • A Raspberry Pi camera
  • An Amazon AWS account

If you have all these, set up an S3 bucket and a SNS topic, and note these in the variables in the script. Then make sure you have an IAM user that can access SNS and the bucket (you can give the user full access, but I gave the user access only to it's particular key in the bucket). Make sure that the IAM user also has permission to use Rekognition, specifically the "rekognition:detectLabels" permission (or again, full access to rekognition). If you have all these set up, fill in the details in the script, make sure that the credentials for the IAM user are accessible, and start it up!

Troubleshooting

  • The camera doesn't work.

    Make sure that you've enabled the camera interface in raspi-config

  • The detection gives me errors

    Make sure that boto is able to access your IAM user, and make sure that user has permissions for S3, Rekognition and SNS.

If it still doesn't work, open an issue, and I'll be glad to help!

tacos's People

Contributors

solrun avatar tritlo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

solrun

tacos's Issues

Privacy Concern: My cats don't like Amazon

My cats don't like Amazon and don't consent to having their pictures uploaded to cloud services operated by the CIA. Is there any way to detect cats on my roof without giving a constant stream of cat pictures to the government?

Thanks ❤️

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.