Giter Club home page Giter Club logo

car-detector's Introduction

Build Status

car-detector

This is a drawing detection application for raspberry-pi. It detects if a drawing is a car or not. There are two modes of running:

  • take a picture of your drawing
  • draw directly on the tactile screen of the raspberry

Install the app

Create a python3 venv and all the required packages and the app in your virtual env. At the root of the project, run:

python3 -m venv venv
pip install -r requirements
pip install -e .

Run the tests

pytest

Launch the app

Run the folllowing command to load the app with camera:

car_detector camera

With clicking mouse drawing and optionnal arguments:

car_detector draw --model <path/to/model> --saved <path/to/save/image>

Train a model

The modelisation notebook can be found at the root of the project. The data comes from the google quick draw application. Usefull command for port forwarding (if you use ec2 instance):

ssh -L <local:port>:localhost:<distant:port> <user>@<ip-adress>
# example to forward tensorboard:
ssh -L 8881:localhost:6006 [email protected]

Related article

Article 1: train your model

Article 2: deploy it on a raspberry

Article 3: use the model and enhance it

### Schemes

Hardware issues on ARM

ARMaggedon

#### Use Ansible to configure Raspbian on QEMU

Hans Ziebel

#### Pipeline overview

Pipeline

car-detector's People

Contributors

saxamos avatar paulden avatar dependabot[bot] avatar

Stargazers

Paul Ellison avatar Thibault Djaballah avatar

Watchers

James Cloos avatar Paul Ellison avatar Constant Bridon 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.