Get correct image orientation by Google Cloud Vision api (TEXT_DETECTION)
<p>I tried Google Cloud Vision api (TEXT_DETECTION) on 90 degrees rotated image. It still can return recognized text correctly. (see image below)</p>

<p>That means the engine can recognize text even the image is 90, 180, 270 degrees rotated.</p>

<p>However the response result doesn't include information of correct image orientation. (document: <a href="https://developers.google.com/resources/api-libraries/documentation/vision/v1/java/latest/com/google/api/services/vision/v1/model/EntityAnnotation.html" rel="noreferrer">EntityAnnotation</a>)</p>

<p>Is there anyway to not only get recognized text but also get the <strong>orientation</strong>?<br>
Could Google support it similar to (<a href="https://developers.google.com/resources/api-libraries/documentation/vision/v1/java/latest/com/google/api/services/vision/v1/model/FaceAnnotation.html" rel="noreferrer">FaceAnnotation</a>: getRollAngle)</p>

<p><a href="https://i.stack.imgur.com/fTQrT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fTQrT.png" alt="enter image description here"></a></p>