Assigned
Status Update
Comments
sj...@google.com <sj...@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]
sj...@google.com <sj...@google.com>
to...@gmail.com <to...@gmail.com> #3
I also need this problem solved :)
Description
Problem you have encountered:
When translating the text
<span translate=""no"">Tæppe</span> 120x200 cm - Bomuldssatin - Anthrazite
from Danish to Swedish with the Cloud Translate API, the result that is returned isMatta <span translate="no">Tæppe</span> cm - Bomullssatin - Antracit
.What you expected to happen:
I expect the returned text to be along the lines of
<span translate="no">Tæppe</span> 120x200 cm - Bomullssatin - Antracit
Steps to reproduce:
Using the Google Cloud Translate API, translate the text
<span translate=""no"">Tæppe</span> 120x200 cm - Bomuldssatin - Anthrazite
from Danish to SwedishOther information (workarounds you have tried, documentation consulted, etc):
The same thing seems to happen when translating to other languages.