I would like to export the detected text into a usable C++ format (string). Is there any way to do so? Thank you for your help
How can I export text recognition result to a C++ usable format?
- 195 Views
- Last Post 16 February 2017
If you use FineReader Engine 11, there are two potentially useful ways for your usage scenario:
- You can use either the PlainText property of the FRDocument object that returns the text of the recognized document in a special "plain text" format. This object has the Text property which provides access to the whole recognized text in a form of Unicode string,
- Or you can try to use the ExportToMemory method of the FRDocument object. This method saves the document into memory by means of the IFileWriter object. You can find the code sample (in C#) in Developer's Help -> API Reference -> Supplementary Objects and Methods -> IFileWriter, section "Samples".
Thanks for your response. I used the text property and it worked very well however I still have a problem: the detected text is allways followed by a? How can I solve this? Besides I would like to get the confidence level of each recognized word. Is this possible?
Thanks in advance!
Regarding your first question, please provide the following information to your region Technical Support team (TechSupport_eu@abbyy.com):
- The serial number of your FREngine package.
- The build number of your FREngine distribution.
- A detailed description of the issue with the image sample and the resulting file.
- A code snippet where the FREngine methods are called.
ABBYY technical support engineers will be glad to assist you.
As for your second question about the word confidence, please review the How to get Word Confidence article in our Knowledgebase.
1267 questions, 4166 answers.
This Weeks High Earners
- Carol 2