30
Views
3
Comments
Solved
[Google Cloud Vision OCR] Annotation boxes not align with the image
googlecloudvisionocr
Service icon
Forge asset by Aurelio Junior
Application Type
Service

hi,

I'm having a problem with the annotation boxes not lining up with the text after the image is scanned. The boxes are "cut" and stuck on the lower right side of the screen and even when scrolling down they don't follow the displacement of the image.


Best Regards,

Diogo Pinto

2019-09-30 07-35-56
Aurelio Junior
Solution

Hi Diogo,

The annotations aren't really a part of the component. I just used a javascript library I found online to illustrate the component's capability of identifying the areas in the image where text was found.

Having said that, would it be possible for you to share your module so I can take a look at what's happening?

2022-11-24 18-19-20
Diogo Pinto

Hi Aurelio,

sorry for my late response. I had this problem with the application demo when testing it to see if I could apply it to a project. However, the problem is solved I had to change part of the javascript code and adjust the CSS.

Thank you anyway for your attention.


Best Regards,

Diogo Pinto

UserImage.jpg
Marius Johansen

Hi Diogo,

I am facing the same situation with annotation boxes showing up at wrong positions. May I ask what fixes you made in the javascript to properly align them?

Best regards,
Marius

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.