This repository is GCP Vision API(Text/Document Detection) Python Sample
Setup Project and export GOOGLE_APPLICATION_CREDENTIALS, Install Cloud SDK Cloud Vision API - Detect text in images
Use Github - pipenv
git clone https://github.com/wakamezake/gcp_ocr.git
pipenv install
python cli.py path/to/file or gcs://path/to/file
image_description | text_detection | document_text_detection |
---|---|---|
original | ![]() |
![]() |
detection_block | ![]() |
![]() |
detection_paragraph | ![]() |
![]() |
detection_word | ![]() |
![]() |
detection_symbol | ![]() |
![]() |