#1
Posted
:
Friday, June 10, 2016 6:16:26 AM(UTC)
Groups: Registered, Tech Support
Posts: 10
I need a way to save captured data to an xml file. I am capturing the data by drawing a rectangle around the data on the image loaded in the viewer.
#2
Posted
:
Friday, June 10, 2016 6:20:23 AM(UTC)
Groups: Registered, Tech Support
Posts: 10
In the xml file, I also want to save the coordinates of the rectangle drawn
#3
Posted
:
Thursday, June 23, 2016 5:57:51 AM(UTC)
Groups: Registered
Posts: 119
Was thanked: 4 time(s) in 4 post(s)
It sounds like you first off want to be able to OCR a selected portion of the page. Here is a little tutorial that will help with being able to OCR a page:
https://www.leadtools.com/help/leadtools/v19/dh/to/?page=leadtools.topics.forms.ocr~fo.topics.ocrtutorialrecognizingpages.html
In order to be able to draw a rectangle box on the displayed image you will have to use the rubberband effect. You will find code for fusing it into your code in step 8 here:
https://www.leadtools.com/help/leadtools/v19/dh/to/leadtools.topics.forms.ocr~fo.topics.ocrtutorialworkingwithrecognitionresults.html
Lastly, here is a link that will show you how to save the information as an xml file:
https://www.leadtools.com/help/leadtools/v19/dh/fo/leadtools.forms.ocr~leadtools.forms.ocr.iocrdocument~savexml(string,ocrxmloutputoptions).html
LEADTOOLS offers a free 60 day evaluation that will allow to use all of our provided code as well as free and easy to use demos.
https://www.leadtools.com/downloads
If you have any other question, you can let us know at
support@leadtools.comNick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.