Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, June 10, 2016 6:16:26 AM(UTC)

bjack  
bjack

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.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, June 10, 2016 6:20:23 AM(UTC)

bjack  
bjack

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)
Nick Villalobos

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.com
Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.051 seconds.