Containerized Flask app to perform OCR and highlight words on images using OpenCV.
Stores image on Google Cloud Storage and return a signed URL with expiration time.
2020-04-11: Now supports reCAPTCHA Enterprise!
-
Enable Cloud Storage API & Vision API on your GCP project.
-
Create a service account and put the credentials (in JSON format) in
key/credentials.json
. -
Use the docker to build image.
docker build . --tag={tag-name-goes-here}
Then run on your favorite platform.
docker run -p8080:8080 {tag-name-goes-here}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.