I have been using Google Cloud API OCR tool (https://cloud.google.com/functions/docs/tutorials/ocr) for one of my projects to extract text from a scanned image. The image is in .png format. I followed every instruction to install the cloud API for OCR. However, I do not see the result in the Result Bucket when I upload an image in Input Image Bucket in the cloud storage. However, I noticed that if I pass the parameter as "fr" or "es" in the following deploying function, the result does show up in the Result Bucket. I do not see any result for the "TO_LANG=en" parameter in the Result Bucket.
Deploying an image processing function with a Cloud Storage trigger:
gcloud functions deploy ocr-extract --runtime python37 --trigger-bucket etdimage --entry-point process_image --set-env-vars "TRANSLATE_TOPIC=extractData,TO_LANG=enβ
But the result needs to be in English. Is there any way to work around this issue? I attached an image for your convenience. I would appreciate your help.
Thank you,
TO_LANG=en
and uploaded the images provided in the repo and everything worked fine for me. Could you please check if your local copy of the repo code is up to date and retry the tutorial? β Happy-Monad