I've tested and used zonal OCR successfully with GdPicture however I'm often guessing at where the actual zones should be. How can I use the viewer to let the user define zones themselves? I know I can create an annotation rectangle and capture the coordinates of it via a custom button and code behind, but how do you translate that into a OCR zone? The coordinate systems seem completely different.
I've used this tool before (https://jsoma.github.io/kull/), which works great but I don't want to have a completely separate UI for capturing zones.
Zonal OCR Coordinate System
Re: Zonal OCR Coordinate System
Hello there,
You can define it by the method setROI().
You will find all you need at this link: https://www.gdpicture.com/guides/gdpicture/Gd ... =setroi%2C
Hope it helps!
Best regards,
Fabio de Rose
Solution Engineer
You can define it by the method setROI().
You will find all you need at this link: https://www.gdpicture.com/guides/gdpicture/Gd ... =setroi%2C
Hope it helps!
Best regards,
Fabio de Rose
Solution Engineer
-
- Posts: 5
- Joined: Tue Nov 19, 2019 3:20 pm
Re: Zonal OCR Coordinate System
That is the opposite of what I am asking. I know how to set a ROI, but how do I let the user draw a bounding box on the document and retrieve the ROI coordinates? The coordinate systems for SetROI and get annotation do not match.
Who is online
Users browsing this forum: No registered users and 1 guest