Giter Site home page Giter Site logo

recipi's Introduction

ReciPi

  • ReciPi is a RaspberryPi project that is able to scan Barcodes using the camera module (or any USB camera) from grocery items, retrieve products from public database and store them into a SQLite database. Then user can prompt the program to query ChatGPT (or any other similar project) to generate a recipe. Recipes are also stored so they don't become redundant.
  • Developed for RaspberryPi 3B+, Raspberry OS Lite (64-bit)

Sources:

TODOs

  • datamodel with listener on barcode scans that automatically searches products
  • puppeteer to access EAN-search and ChatGPT
  • async requests
  • remember already accessed barcodes
  • improve camera resolution
  • checkmark on sensehat

How to use

Virtualenv

  • sudo pip install virtualenv
  • virtualenv venv
  • . venv/bin/activate

The following are needed for opencv

sudo apt-get update && sudo apt-get upgrade 

sudo apt install -y build-essential cmake pkg-config libjpeg-dev libtiff5-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-103 libqt5gui5 libqt5webkit5 libqt5test5 python3-pyqt5 python3-dev

pip install -r requirements.txt

sudo apt-get install zbar-tools -y

SQLite

sudo apt install sqlite3

sqlite3 recipi.db
  • Change path to database in ???.py
  • .open recipi.db
  • PRAGMA table_info(table_name);

recipi's People

Contributors

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