I am using ocr cloud sdk in my application for ocr. I want to know that how to detect bold/italic characters in xml returned by cloud service. I am using following code to get xml
In this link following answer is posted by a user.
The parameter xcf (--xmlWriteCharFormatting) is neccessary to get the font size.
I want to know if this parameter also works in cloud ocr service or there is some other parameters/way to detect bold/italic characters.
The XML output format that ABBYY Cloud OCR SDK creates is the same that ABBYY FineReader Engine creates with the default options. It contains information on text and characters, but does not support the character formatting information, such as bold/italic/underlined font styles. Unfortunately, now the XML scheme in Cloud OCR SDK can only be expanded by setting the parameter xml:writeRecognitionVariants to true (it specifies whether the variants of characters recognition should be written to the output file).
Please vote if you want to have the information about text font styles for the feature request: http://forum.ocrsdk.com/questions/3693/feature-request-font-info-in-xml. Hope it will be implemented in future.
answered 06 Nov '15, 14:00
Oksana Serdyuk ♦♦