Giter Club home page Giter Club logo

crow-detector's Introduction

Crow Detector

Tweets photos of a crow (verified by a tensorflow machine learning model) from a RPI4 using 100% Javascript!

This project was featured in Make Magazine, Volume 75 (page 91)! IMG_9456

Tech:

  • Node.js
  • Tensorflow.js
  • Teachable Machine (Train the model)

Hardware:

  • Raspberry Pi 4 (4GB Ram)
  • PIR Sensor (set for continuous motion detection)
  • Pi Camera V2 HD Camera w/ wide angle lens

A PIR Sensor detects motion and starts the camera taking burst mode photos as long as motion is continually detected. Since the PIR sensor is quite sensitive, it can give false alarms. So, I trained an image classification model using Google's Teachable Machine to detect if there's a hooded crow (Nabelkrähe) visiting my window to grab some peanuts. It then tweets the photo if a crow is detected.

Orville the crow pics: https://twitter.com/orvillethecrow

Trained model: https://teachablemachine.withgoogle.com/models/iPcyCDwcz/

This is using a Teachable Machine model trained on real images of my hooded crow friend and runs in Node.js using tfjs-node.

🚨 Note: Runs on RPI4 with these modifications: https://github.com/yhwang/node-red-contrib-tf-model#note

To run:

  • git clone the repo
  • npm i
  • node app.js

crow-detector's People

Contributors

traumverloren avatar

Stargazers

David Konsumer avatar  avatar  avatar Felipe Scalice avatar  avatar Aravind A avatar  avatar José Riguera Lopez  avatar  avatar David Sapp avatar [ ] avatar Airton Zanon avatar Paula Babbicola avatar Sven avatar David Polite avatar 阴璐斌 avatar Brian Cooke avatar Colin Tindle avatar Stetson Pierce avatar

Watchers

James Cloos avatar  avatar

crow-detector's Issues

Question: Why did you swap out the camera?

Hey,

I was just wondering why you swapped out the camera. I want to build something similar and only have the standard camera v2 module and wondered if it would work.

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.