how to save extracted data in xml file
I was capturing the data in image file by drawing the rectangle after capturing i need to save the date in xml file how can i store the data
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
vinath kumarPosted Apr 22, 2016, 1:03 AM
Sebastian JuanPosted Apr 21, 2016, 12:13 PM
To my knowledge, XML is a text based format, so if you want to save binary data inside it, it should be of base64 string form. But I am not sure if this is implemented somewhat in .NET. I found the following forums discussions that might help:
http://searchwindevelopment.techtarget.com/answer/Can-we-store-an-image-in-XML-file-just-like-we-store-an-image-file-as-binary-in-SqlDatabase
http://stackoverflow.com/questions/20630088/store-an-image-efficiently-in-a-xml-file
Also, you mentioned that you are capturing the image by drawing a rectangle. Are you using an application or utility to do this?
If you are trying to OCR a specific rectangle of your image, and save the result as XML file, I found the following link that might help:
https://www.leadtools.com/help/leadtools/v19/dh/fo/leadtools.forms.ocr~leadtools.forms.ocr.iocrdocument~savexml%28ocrxmloutputoptions%29.html