Hi,

I am evaluating the ABBY OCR SDK trial version. I want to know if there any possible way that I could recognize only text field with Black color. This image has every thing in different colors except the few fields which are in black color and I want to capture those text fields.

Thanks in advance.

asked 22 Feb '14, 00:26

Anup%20Gandhi's gravatar image

Anup Gandhi
133


To get text with black color we recommend to recognize page (using the processImage method) and perform export to XML.

According to output XML document scheme, there is a "color" tag. It is optional and is specified when the text color is not black. So if you remove (on your side) all the text with the "color" tag you will get what you need.

link

answered 23 Feb '14, 16:20

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

Thanks for the quick reply. But I can check the response XML and it has no color information whereas in the image, there are text fields which are in blue color. Let me know if you want me to share image and response xml with you.

(23 Feb '14, 22:05) Anup Gandhi

We apologize for the wrong information, the "color" tag is absent now. It is possible to do the following:

a. specify the coordinates of the text you want to recognize and use the processTextField or the processFields method;

b. use any other information (not the text color) from the output XML file to find the text you need; actual tags are described in this table: http://ocrsdk.com/documentation/specifications/xml-scheme-recognized-document/.

If both of this variants are impossible, please share the image you recognize and probably the tag will be added in the future.

(25 Feb '14, 20:18) Anastasia Ga... ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37

Asked: 22 Feb '14, 00:26

Seen: 1,134 times

Last updated: 25 Feb '14, 20:22

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal