Best Before is an expiry date tracker. It warns you when your item's lifecycle is nearly over. We make adding items super easy. Product details are auto-generated from just a barcode picture and the expiry date is recognized from just a picture. We leverage Google Cloud Vision AI, with fuzzy string matching to obtain the expiry date. Also, we use Open Source Computer Vision Library (OpenCV) and Barcode Look Up API to first read the barcode and fetch the product details! Once items are consumed, the user can easily remove tracked items. So Best Before is your companion for the whole life cycle of your grocery items!
Clone this repository:
$ git clone https://github.com/niyonx/Best-Before.git
-
Setup virtual environment, install dependencies, and activate it:
$ pipenv install --dev $ pipenv shell
-
Install JS dependencies
$ npm install
Run Flask Api development server:
$ python run.py
From another tab in the same directory, start the webpack dev server:
$ npm run serve