Assigned
Status Update
Comments
va...@google.com <va...@google.com>
ar...@google.com <ar...@google.com> #2
I have informed our engineering team of this feature request. There is currently no ETA for its implementation.
A current workaround would be to check the returned "boundingPoly" [1] "vertices" for the returned "textAnnotations". If the calculated rectangle's heights > widths, than your image is sideways.
[1]https://cloud.google.com/vision/reference/rest/v1/images/annotate#boundingpoly
A current workaround would be to check the returned "boundingPoly" [1] "vertices" for the returned "textAnnotations". If the calculated rectangle's heights > widths, than your image is sideways.
[1]
se...@corfield.org <se...@corfield.org> #3
I also need this problem solved :)
mi...@givealittle.co.nz <mi...@givealittle.co.nz> #4
same :D
mi...@givealittle.co.nz <mi...@givealittle.co.nz> #5
+1
Description
Problem you have encountered:
Receiving occasional but persistent Internal processing error: invalid_argument errors in response to WEB_DETECTION requests that include images that are OK as far as we can tell.
What you expected to happen:
A normal API response with information about the image and any other occurrences of it found on the web.
Steps to reproduce:
Submit the attached image to the API. As per my Stack Overflow question you can use this documentation page to submit a request:
With a request body like:
Observe a Internal processing error: invalid_argument. response.
Other information (workarounds you have tried, documentation consulted, etc):
Noticed that most (if not all) our failing images contain text of some form (e.g. shop signs, logos on shirts etc.) and understand that the recent update contained some changes related to OCR.