I am using trail version of cloud ocr in an asp.net application. I want to know that how can i highlight wrongly converted text in a text file.

asked 15 May '14, 13:02

aamir's gravatar image

aamir
1


When you call the processTextField method with the specified parameters, a new processing task will be created on the server.

You can monitor the task status in a loop using the getTaskStatus method until the task is processed. The result of processing is returned in XML format and can be downloaded by the reference provided in the XML response. The output XML file has the following format:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<document xmlns="@link" xmlns:xsi="@link" xsi:schemaLocation="@link" version="1.0">
<field left="0" top="0" right="559" bottom="104" type="text">
    <value encoding="utf-16">JENNIFER</value>
    <line left="49" top="26" right="520" bottom="96">
        <char left="49" top="31" right="105" bottom="96" confidence="83">
        J</char>
        <char left="121" top="26" right="161" bottom="81" confidence="100">
        E</char>
        <char left="179" top="28" right="216" bottom="81" confidence="64">
        N</char>
        ...
    </line>
</field>
</document>

It contains the recognized value of the field and coordinates and confidence of recognition for each character. You can use this data to draw rectangles around the characters with confidence lower than the threshold. Hope this information would help you in implementing your scenario.

link

answered 16 May '14, 15:43

SDK_support's gravatar image

SDK_support ♦♦
2763

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:

×102

Asked: 15 May '14, 13:02

Seen: 745 times

Last updated: 16 May '14, 15:43

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