Text field with black color Answered


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.

Was this article helpful?

0 out of 0 found this helpful



  • Avatar
    Anastasia Galimova

    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.

  • Avatar
    Anup Gandhi

    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.

  • Avatar
    Anastasia Galimova

    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:

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


Please sign in to leave a comment.