Skip to content

Messenger chat bot for goto OCR. Handy when we need to share details from images

Notifications You must be signed in to change notification settings

yashLadha/Parsy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parsy

This is a messenger chat bot used for extracting text from images, so that you can copy them and can use at other places. It uses Google Cloud Vision API for OCR (Optical Character Recognition).

If you want to try it out, head over to Parsy Facebook page: Link

Steps for setting up backend server

  1. Install python dependencies, assuming that you have pip already setup.
pip install -r requirements.txt
  1. Run the flask application using
python app.py

Now the backend is up and ready for serving requests.

I have used gunicorn as my WSGI server and nginx as reverse proxy on top of it.

To start the WSGI server at port 8000, execute the following command:

./start.sh

This shell file start the WSGI server at port 8000, nothing fancy

Steps for setting up Google Cloud Vision

Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the file path of the JSON file that contains your service account key.

export GOOGLE_APPLICATION_CREDENTIALS="[PATH]"

Resources Used

Author

About

Messenger chat bot for goto OCR. Handy when we need to share details from images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published