Assigned
Status Update
Comments
jo...@google.com <jo...@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]
na...@inten.to <na...@inten.to> #3
I also need this problem solved :)
jo...@google.com <jo...@google.com> #4
same :D
na...@inten.to <na...@inten.to> #5
+1
jo...@google.com <jo...@google.com> #6
+1
jo...@google.com <jo...@google.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.
na...@inten.to <na...@inten.to> #8
+1
na...@inten.to <na...@inten.to> #9
Would be great if this could be implemented.
ma...@google.com <ma...@google.com>
na...@inten.to <na...@inten.to> #11
+1
ew...@google.com <ew...@google.com> #12
+1
Description
Problem you have encountered:
When translating phrase from DE to EN using Google Cloud Advanced API for some weird reason the phrase "WG: Isell Berechtigungen" gets translated to "Flat share: Isell permissions” from DE to EN.
It’s getting even weirder when a glossary is applied. For example adding a glossary term WG -> FG results in "Flat FG: Isell permissions”. Please note that Flat part is persistent.
What you expected to happen:
The expected result is "FG: Isell permissions"
Steps to reproduce:
POST
Text { "model": "projects/nmt/locations/global/models/general/base", "sourceLanguageCode": "de", "targetLanguageCode": "en", "contents": ["WG: Isell Berechtigungen"] }
Other information (workarounds you have tried, documentation consulted, etc):
We were also able to reproduce the issue using