/Expiry-Date-Extraction

This python flask project can extract the expiry details of any product using Computer Vision and NLP

Primary LanguagePythonMIT LicenseMIT

Expiry-Date-Extraction

image


Requirements

  • Git
  • Heroku
  • Python
  • Flask
  • Cloud Vision API
  • Postman

Installation

  • Git
winget install --id Git.Git -e --source winget
  • Heroku CLI
npm install -g heroku

How to Use

  1. Clone this repository
git clone https://github.com/Pritam-Sethuraman/Expiry-Date-Extraction.git
  1. Create a python virtual environment
python -m venv myApp
  1. Copy all the files into the virtual environment
  2. Activate python virtual environment
cd myApp
Script\activate
  1. Install dependency
pip install -r requirements.txt
  1. Initialising emptyrepository and adding all the files to it
git init
git add .
git commit -m "Final Commit"
  1. Heroku CLI Login
heroku login
  1. Create a web app on Heroku
heroku create mypythonapp
  1. Push the code from local repo to Heroku
git push heroku master
  1. The web app will be deployed at http://mypythonapp.herokuapp.com

Created & Maintained By

Pritam Sethuraman

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕


License

MIT License

Copyright (c) 2022 Pritam Sethuraman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.