Zonal OCR Coordinate System

Discussions about OCR & MICR support in GdPicture.
Post Reply
mikeplacko
Posts: 3
Joined: Tue Nov 19, 2019 3:20 pm

Zonal OCR Coordinate System

Post by mikeplacko » Thu Sep 10, 2020 5:22 pm

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.

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: Zonal OCR Coordinate System

Post by Fabio » Wed Sep 16, 2020 5:42 pm

Hello there,

You can define it by the method setROI().
You will find all you need at this link: https://guides.gdpicture.com/content/Gd ... =setroi%2C

Hope it helps!

Best regards,
Fabio de Rose
Solution Engineer

mikeplacko
Posts: 3
Joined: Tue Nov 19, 2019 3:20 pm

Re: Zonal OCR Coordinate System

Post by mikeplacko » Thu Nov 12, 2020 12:03 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest