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

4652 Rezensionen

Task 4. Deploy the functions - Do Not Work student_04_aaca86bb7146@cloudshell:~ (qwiklabs-gcp-01-dcdf604e7b83)$ gcloud projects add-iam-policy-binding qwiklabs-gcp-01-dcdf604e7b83 \ --member="serviceAccount:qwiklabs-gcp-01-dcdf604e7b83@appspot.gserviceaccount.com" \ --role="roles/artifactregistry.reader" ERROR: Policy modification failed. For a binding with condition, run "gcloud alpha iam policies lint-condition" to identify issues in condition. ERROR: (gcloud.projects.add-iam-policy-binding) INVALID_ARGUMENT: Service account qwiklabs-gcp-01-dcdf604e7b83@appspot.gserviceaccount.com does not exist. (qwiklabs-gcp-01-dcdf604e7b83)$ gcloud functions deploy ocr-extract --runtime python39 --trigger-bucket image_bucket_qwiklabs-gcp-01-dcdf604e7b83 --entry-point process_image --set-env-vars "^:^GCP_PROJECT= qwiklabs-gcp-01-dcdf604e7b83:TRANSLATE_TOPIC=translate_topic_qwiklabs-gcp-01-dcdf604e7b83:RESULT_TOPIC=result_topic_qwiklabs-gcp-01-dcdf604e7b83:TO_LANG=es,en,fr,ja" In a future Cloud SDK release, new functions will be deployed as 2nd gen functions by default. This is equivalent to currently deploying new with the --gen2 flag. Existing 1st gen functions will not be impacted and will continue to deploy as 1st gen functions. You can preview this behavior in beta. Alternatively, you can disable this behavior by explicitly specifying the --no-gen2 flag or by setting the functions/gen2 config property to 'off'. To learn more about the differences between 1st gen and 2nd gen functions, visit: https://cloud.google.com/functions/docs/concepts/version-comparison ERROR: (gcloud.functions.deploy) Failed to upload the function source code to signed url: https://storage.googleapis.com/uploads-353051714080.us-central1.cloudfunctions.appspot.com/66b315c1-b658-4666-af0f-f82638919648.zip?GoogleAccessId=service-892274846650@gcf-admin-robot.iam.gserviceaccount.com&Expires=1725807866&Signature=nJo0ANi33GcZvJZeB%2F9wP3tF8JzuzOW%2BES9VkjJSlJxrmoNFA6hr4CxN6xgDkltUffMfjThQNEXGOvErqdyBw92h174%2FrmD%2FSJC8FXN74n8fPiVtu6P0i2r9MZaSCzqAg780cLUaRfCZHGY7AHTdNx9xA6lUVRi7wS3QWKo%2BQi6fAsCOB3Yc6Z%2FROZ2Wu8IvnaKzQTI4rG6pbm8T%2FF4U%2B0qSWF%2BzSPu%2FSMsA8xjkGnMNzAw1zUxy9IKu2PxoV%2Faxkbq7dVHaCX0UhLSAfMUePTf1w8mNXh%2BPx4NYumd%2By7SSpszJu59ul0lqRMmums7oMdBB6Xs0%2F27CUm60TdT5ag%3D%3D. Status: [400:b"<?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>"]

JUNE D. · Vor mehr als ein Jahr überprüft

difficult lab work the code didn't work for some reason couldn't pass the first time

Ievhen S. · Vor mehr als ein Jahr überprüft

Manju Vallabha P. · Vor mehr als ein Jahr überprüft

The steps can be evolved to set environment variables in the shell such that the user doesn't need to edit commands inline. It would make the lab go much faster. Also the default app engine service account did not exist so the first cloud function deployment throws an error.

Prateek S. · Vor mehr als ein Jahr überprüft

The end does not work. Please check this problem.

Daniel C. · Vor mehr als ein Jahr überprüft

Ievhen S. · Vor mehr als ein Jahr überprüft

Uzor N. · Vor mehr als ein Jahr überprüft

Daniel C. · Vor mehr als ein Jahr überprüft

ERROR: Policy modification failed. For a binding with condition, run "gcloud alpha iam policies lint-condition" to identify issues in condition. ERROR: (gcloud.projects.add-iam-policy-binding) INVALID_ARGUMENT: Service account qwiklabs-gcp-04-ff7bb8ba9a34@appspot.gserviceaccount.com does not exist.

Mohit T. · Vor mehr als ein Jahr überprüft

could not add aim access due to no cloud function activate. Required to Enable the App Engine Default Service Account If you do not see the appspot service account in the list, it means the App Engine service account has not been created. To create it, you need to enable the App Engine service in your project: gcloud app create --project=qwiklabs-gcp-00-fc4a556c3851

Daniel S. · Vor mehr als ein Jahr überprüft

Really terrible!

Victor O. · Vor mehr als ein Jahr überprüft

VAIJAYANTHI B. · Vor mehr als ein Jahr überprüft

Uzor N. · Vor mehr als ein Jahr überprüft

Ahsan G. · Vor mehr als ein Jahr überprüft

i am getting the issue in that step To deploy the image processing function with a Cloud Storage trigger, run the following command in the directory that contains the sample code. Replace YOUR_IMAGE_BUCKET_NAME, YOUR_GCP_PROJECT_ID, YOUR_TRANSLATE_TOPIC_NAME and YOUR_RESULT_TOPIC_NAME. gcloud functions deploy ocr-extract \ --runtime python39 \ --trigger-bucket YOUR_IMAGE_BUCKET_NAME \ --entry-point process_image \ --set-env-vars "^:^GCP_PROJECT=YOUR_GCP_PROJECT_ID:TRANSLATE_TOPIC=YOUR_TRANSLATE_TOPIC_NAME:RESULT_TOPIC=YOUR_RESULT_TOPIC_NAME:TO_LANG=es,en,fr,ja" here is the error: ERROR: (gcloud.functions.deploy) ResponseError: status=[400], code=[Ok], message=[Default service account 'qwiklabs-gcp-04-cb962d2ccff8@appspot.gserviceaccount.com' doesn't exist. Please recreate this account or specify a different account. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation.]

Osama W. · Vor mehr als ein Jahr überprüft

JUNE D. · Vor mehr als ein Jahr überprüft

i am getting the issue in that step To deploy the image processing function with a Cloud Storage trigger, run the following command in the directory that contains the sample code. Replace YOUR_IMAGE_BUCKET_NAME, YOUR_GCP_PROJECT_ID, YOUR_TRANSLATE_TOPIC_NAME and YOUR_RESULT_TOPIC_NAME. gcloud functions deploy ocr-extract \ --runtime python39 \ --trigger-bucket YOUR_IMAGE_BUCKET_NAME \ --entry-point process_image \ --set-env-vars "^:^GCP_PROJECT=YOUR_GCP_PROJECT_ID:TRANSLATE_TOPIC=YOUR_TRANSLATE_TOPIC_NAME:RESULT_TOPIC=YOUR_RESULT_TOPIC_NAME:TO_LANG=es,en,fr,ja" here is the error: ERROR: (gcloud.functions.deploy) ResponseError: status=[400], code=[Ok], message=[Default service account 'qwiklabs-gcp-04-cb962d2ccff8@appspot.gserviceaccount.com' doesn't exist. Please recreate this account or specify a different account. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation.]

Osama W. · Vor mehr als ein Jahr überprüft

Not working in step 3

Aswath J. · Vor mehr als ein Jahr überprüft

Mallé M. · Vor mehr als ein Jahr überprüft

I uploaded the image to the cloud storage bucket but not detected

Mallé M. · Vor mehr als ein Jahr überprüft

Hace falta información.

Mizrahim B. · Vor mehr als ein Jahr überprüft

Jasmin P. · Vor mehr als ein Jahr überprüft

This lab does not work.

S. T. B. · Vor mehr als ein Jahr überprüft

Alzum Shahadat M. · Vor mehr als ein Jahr überprüft

Chandana H. · Vor mehr als ein Jahr überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.