Extracting Text from the Images using the Google Cloud Vision API Reviews

4536 reviews

student_03_0f17af6e3f35@cloudshell:~/python-docs-samples/functions/ocr/app (qwiklabs-gcp-00-5a2beaec2166)$ gcloud functions deploy ocr-extract --region=us-west1 --runtime python39 --trigger-bucket gs://image_qwiklabs-gcp-00-5a2beaec2166 --en try-point process_image --set-env-vars "^:^GCP_PROJECT=qwiklabs-gcp-00-5a2beaec2166:TRANSLATE_TOPIC=TSN:RESULT_TOPIC=TSNR:TO_LANG=es,en,fr,ja" Preparing function...done. X Updating function (may take a while)... OK [Build] Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-west1/1387ebd8-7b18-41e6-9007-46f84b946dc8?project=958274565537] [Service] - [Trigger] Creating Eventarc trigger... . [ArtifactRegistry] . [Healthcheck] . [Triggercheck] Failed. [WARNING] Cloud Run service projects/qwiklabs-gcp-00-5a2beaec2166/locations/us-west1/services/ocr-extract for the function was not found. The service was redeployed with default values. ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-00-5a2beaec2166/locations/us-west1/triggers/ocr-extract-978334: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher (roles/pubsub.publisher) IAM role in the specified project. (See https://cloud.google.com/eventarc/docs/run/quickstart-storage#before-you-begin): permission denied

Muhamad Arwani M. · Reviewed yaklaşık 1 yıl ago

Ahmad Luay A. · Reviewed yaklaşık 1 yıl ago

Ahmad Luay A. · Reviewed yaklaşık 1 yıl ago

errors occurred and could not be solved...

René K. · Reviewed yaklaşık 1 yıl ago

Issue regarding IAM with qwiklabs. Trigger seems to build ok but does not show up in the "Triggers" tab. No traces of triggers are found when deploying the trigger. This may be me not understanding fully the inner working of all of it, but this lacks explanation in the lab then :)

Baptiste L. · Reviewed yaklaşık 1 yıl ago

Gayathri D. · Reviewed yaklaşık 1 yıl ago

I was unable to complete the lab due to error: student_03_21646a0bd071@cloudshell:~/python-docs-samples/functions/ocr/app (qwiklabs-gcp-01-92a5270ab6a7)$ gcloud functions deploy ocr-extract --region=us-central1 --runtime python39 --trigger-bucket gs://image_bucket_qwiklabs-gcp-01-92a5270ab6a7 --entry-point process_image --set-env-vars "^:^GCP_PROJECT=qwiklabs-gcp-01-92a5270ab6a7:TRANSLATE_TOPIC=translate_topic:RESULT_TOPIC=result_topic:TO_LANG=es,en,fr,ja" Preparing function...done. X Updating function (may take a while)... OK [Build] Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-central1/ff589c9e-eaed-406e-b87a-f8365ccc560d?project=939117344446] [Service] - [Trigger] Creating Eventarc trigger... . [ArtifactRegistry] - [Healthcheck] Rollback Cloud Run service traffic... . [Triggercheck] Failed. [INFO] A new revision will be deployed serving with 100% traffic. ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-01-92a5270ab6a7/locations/us-central1/triggers/ocr-extract-027735: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher (roles/pubsub.publisher) IAM role in the specified project. (See https://cloud.google.com/eventarc/docs/run/quickstart-storage#before-you-begin): permission denied OperationError: code=3, message=Invalid resource name '' for pattern 'projects/{project=*}/locations/{location=*}/triggers/{trigger=*}'.

Krzysztof K. · Reviewed yaklaşık 1 yıl ago

Jakub J. · Reviewed yaklaşık 1 yıl ago

Rama A. · Reviewed yaklaşık 1 yıl ago

event arc and pub/sub publisher permission not there

Rajesh G. · Reviewed yaklaşık 1 yıl ago

exceeded cloud storage bucket quota

Rajesh G. · Reviewed yaklaşık 1 yıl ago

exceeded cloud storage bucket quota

Rajesh G. · Reviewed yaklaşık 1 yıl ago

Mohamed Z. · Reviewed yaklaşık 1 yıl ago

Rulli Y. · Reviewed yaklaşık 1 yıl ago

invalid project id

Rajesh G. · Reviewed yaklaşık 1 yıl ago

invalid project id

Rajesh G. · Reviewed yaklaşık 1 yıl ago

Ty S. · Reviewed yaklaşık 1 yıl ago

Ty S. · Reviewed yaklaşık 1 yıl ago

Lukas T. · Reviewed yaklaşık 1 yıl ago

Lukas T. · Reviewed yaklaşık 1 yıl ago

Lukas T. · Reviewed yaklaşık 1 yıl ago

Lukas T. · Reviewed yaklaşık 1 yıl ago

kept getting error ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-02-5f084919dde6/locations/us-central1/triggers/ocr-extract-560392: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. cannot complete tried everything

Zhane Z. · Reviewed yaklaşık 1 yıl ago

Lukas T. · Reviewed yaklaşık 1 yıl ago

Jakub J. · Reviewed yaklaşık 1 yıl ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.