Assigned
Status Update
Comments
[Deleted User] <[Deleted User]> #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]
lu...@gmail.com <lu...@gmail.com> #3
I also need this problem solved :)
el...@gmail.com <el...@gmail.com> #4
same :D
el...@gmail.com <el...@gmail.com> #5
+1
el...@gmail.com <el...@gmail.com> #6
+1
ju...@gmail.com <ju...@gmail.com> #7
This needs more attention. It's not just a display issue as described in the report. The co-ordinates returned in 'boundingPoly' are incorrect if the image was taken on a phone. All the x points should be y and vice versa.
The workaround does not make sense as "boundingPoly" [1] "vertices" for "textAnnotations" does not indicate the image dimensions - it indicates the dimensions of the relevant text block inside the image.
The workaround does not make sense as "boundingPoly" [1] "vertices" for "textAnnotations" does not indicate the image dimensions - it indicates the dimensions of the relevant text block inside the image.
Description
Problem you have encountered:
It does not have an endpoint or a return that guarantees that the image was indexed when creating the image reference.
The documentation at least in python is old with deprecated code! You should be more careful with new APIs...
What you expected to happen:
I hope to have an endpoint or an exact time so that I can know that that set of images I sent was successfully indexed. Because just knowing the index time is no use. Because the index time even updating, I have to wait a couple of times for the index time to be updated.
Steps to reproduce:
curl -X POST \
-H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
-H "Content-Type: application/json" \
'uri': 'gs://bucket/path/to/red-shoe.jpg'
}
Other information (workarounds you have tried, documentation consulted, etc):