Assigned
Status Update
Comments
ju...@servinformacion.com <ju...@servinformacion.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]
ar...@gmail.com <ar...@gmail.com> #3
I also need this problem solved :)
ar...@gmail.com <ar...@gmail.com> #4
same :D
ar...@gmail.com <ar...@gmail.com> #5
+1
[Deleted User] <[Deleted User]> #6
+1
lu...@artefact.com <lu...@artefact.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
Viewing images in AutoML Dataset shows the original orientation of the images. Customer rotated the images to correct the image orientation before uploading them to GCS. Viewing the images in GCS shows the corrected orientation for the images. However, the original orientation of the images shows when viewing the images through the dataset. Thus, viewing the images via dataset strips the exif data of the image which is setting the orientation of the image.
What you expected to happen: Adjust to correct Image Orientation
Steps to reproduce:
1.While your image is on your local computer, rotate the image to a 180 degrees view (It is like setting an image from landscape to portrait)
2.Upload the image to Google CLoud Storage.
3.View the image. The image will display with the orientation set before uploading to GCS.
4.Create a dataset using the image.
5.After successfully creating the database and importing the image, view the image via dataset. The image´s orientation will be back to its original orientation
Other information (workarounds you have tried, documentation consulted, etc): NA