Assigned
Status Update
Comments
co...@eversionsystems.com <co...@eversionsystems.com> #2
I've tried a few more images and it seems to work for some and not for others. If the image is a photo of a menu then it doesn't seem to get the bounding boxes correct as it seems to switch the width and heights around. However, I used a image of a PDF and that returned the correct bounding boxes. I'll attach examples of images that don't work.
co...@eversionsystems.com <co...@eversionsystems.com> #3
Here is an example of using the demo website at https://cloud.google.com/vision/docs/drag-and-drop and it shows the wrong bounding boxes.
co...@eversionsystems.com <co...@eversionsystems.com> #4
I've done some further investigating and it appears that if I make sure the image I upload is straight and not skewed then it correctly returns the bounding boxes rendered on the image. Attached is an example of an image I rotated to ensure its orientation was square.
co...@eversionsystems.com <co...@eversionsystems.com> #5
I found a thread about this issue on stackoverflow 6 years ago. Looks like this is still an issue today, what is the workaround?
This is the linked issue
https://issuetracker.google.com/issues/35903522
Stackoverflow link
https://stackoverflow.com/questions/41285556/get-correct-image-orientation-by-google-cloud-vision-api-text-detection
This is the linked issue
Stackoverflow link
va...@google.com <va...@google.com>
je...@google.com <je...@google.com> #6
Hello,
Thank you for reaching out to us with your request.
We have duly noted your feedback and will thoroughly validate it. While we cannot provide an estimated time of implementation or guarantee the fulfillment of the issue, please be assured that your input is highly valued. Your feedback enables us to enhance our products and services.
We appreciate your continued trust and support in improving our Google Cloud Platform products. In case you want to report a new issue, Please do not hesitate to create a new issue on the
Once again, we sincerely appreciate your valuable feedback; Thank you for your understanding and collaboration.
Description
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:
When I run the demo at
What you expected to happen:
Bounding boxes should be rotated 90 degrees clockwise
Steps to reproduce:
Query endpoint "
context.strokeRect(
vertices[0].x,
vertices[0].y,
vertices[2].x - vertices[0].x,
vertices[2].y - vertices[0].y
);
Other information (workarounds you have tried, documentation consulted, etc):
The online demo is even showing the bounding boxes being rendered incorrectly when I upload any image...
Attached it JSON showing swapped image dimensions...