Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

TEXT_DETECTION drops requests

I am using TEXT_DETECTION feature in Cloud Vision API Service , Its dropping my request/ fails to extract text from the image sometimes. Any fix for this ? 

1 2 86
2 REPLIES 2

Can you provide the error message?

If you are facing issues with the TEXT_DETECTION feature in the Cloud Vision API and it fails to extract text from images sometimes, there are several potential reasons for this behavior. Here are some suggestions to help you troubleshoot and address the issue:

  • Ensure that the images you are using for text detection are of good quality and resolution.
    Avoid images with low contrast, heavy shadows, or significant noise, as these factors can affect the accuracy of text extraction.
  • Use common image formats such as JPEG, PNG, or GIF. Ensure that the image format is supported by the Cloud Vision API.
  • Verify that the image size is within the supported range for the Cloud Vision API. Very large or very small images may not perform well.
  • Check the error responses returned by the Cloud Vision API when the request fails. The error message might provide insights into the root cause of the problem.
  • Make sure you are not exceeding your API quotas or limits. Check the Cloud Console for any quota errors or limitations.