Giter VIP home page Giter VIP logo

poor-mans-deep-learning-camera's Introduction

Poor Man's Deep Learning Camera

Build a thin client deep learning camera in Python with the Raspberry Pi, Flask, and YOLO

Deep Learning Camera

Installation

You'll need a few different libraries installed on the Raspberry Pi. Most notably, OpenCV 3 with Python bindings, along with Flask.

The Raspberry Pi runs the Camera-Server code, and sends back images from a webserver.

On another computer, you'll run the inference script, and it will detect whether or not there are birds in your webcam's image.

For this to run, you'll need to download and install the Darkflow weights, along with the YOLO model of your choice. Once that's installed, you should then be able to start doing inferences.

If you're looking for a pretrained model, I used the tiny-yolo-voc weights at the Darkflow repo.

thtrieu even linked to a Google Drive copy of his models here.

Architecture

Deep Learning Camera Architecture

Hopefully this image makes sense. We run a cheap edge computer that just sends images out of the current webcam frame, and the other computer script does the inference on that deep learning camera.

Blog Post

The blog post accompanying this repo is at Make Art with Python.

Detected Bird Image

Of course, here's a bird that was detected and saved using this script:

Bird detected using deep learning camera

poor-mans-deep-learning-camera's People

Contributors

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