Giter Site home page Giter Site logo

mypocketkitchen / pk-fooddetector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 32.79 MB

Pocket Kitchen | Custom TensorFlow object detection for food items with Raspberry Pi, HD Camera and Coral TPU

Python 97.95% Shell 2.05%
coral-tpu rapsberrypi tensorflow smart-fridge

pk-fooddetector's Introduction

Pocket Kitchen | Object Detector

Pocket Kitchen is a system for managing food more efficiently in the home towards reducing household food waste. These scripts send detected incoming/outgoing food items in a fridge to a database.

  • On-device object detection - Pocket Kitchen uses the Coral TPU and EdgeTPU TensorFlow models to perform object detection on-device. This means that no data is processed on the cloud, and all processing is done on the device itself.
  • Customizable - Pocket Kitchen is designed to be customizable. For example, the user can add their own model trained on their own objects.
  • Open Source - Pocket Kitchen is open source, so anyone can contribute to the project.

System Architecture

While similar to an API, these scripts are running locally and populating a database. The database is then accessed by the Pocket Kitchen app to display the data.

Requirements

Hardware

  • Raspberry Pi 4
  • Coral TPU
  • Pi Camera (We use HD Camera Module V2, but any Pi camera should work. Autofocus is recommended.)
  • 3D-Printed Camera Mount

Model

Installation

$ bash setup.sh

Usage

$ python3 detect.py --model <model> 

Future Work

  • Add support for true API

Resources

pk-fooddetector's People

Contributors

mimireyburn avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

z1ga

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.