Assigned
Status Update
Comments
si...@google.com <si...@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]
Description
This will create a public issue which anybody can view and comment on.
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered: Incomplete translation when translating from EN to JA.
What you expected to happen:
Source text: ""Mr Smith, Sales manager (department/ORG Business), says: “This table represents the work we have all done together to create something very important, and the passion we bring to that work every day."
Observed result: "セールス マネージャー (部門/ORG ビジネス) の Smith 氏は次のように述べています。" ("Sales Manager (Departmental/ORG Business) Smith said:")
Expected result: "セールス マネージャー (部門/ORG ビジネス) の Smith 氏は次のように述べています。 「このテーブルは、非常に重要なものを作成するために私たちが協力して行ってきた仕事と、その仕事に日々取り組んでいる情熱を表しています。"
Steps to reproduce:
Please find cURL to reproduce: curl --request POSThttps://translation.googleapis.com/v3/projects/cso-pso-experiments:translateText?key= '
--url '
--header 'Authorization: Bearer ****'
--header 'Content-Type: application/json'
--data '{ "sourceLanguageCode": "en", "targetLanguageCode": "ja", "contents": "Mr Smith, Sales manager (department/ORG Business), says: “This table represents the work we have all done together to create something very important, and the passion we bring to that work every day." }'
Result: { "translations": [ { "translatedText": "セールス マネージャー (部門/ORG ビジネス) の Smith 氏は次のように述べています。" } ] }
Other information (workarounds you have tried, documentation consulted, etc):