Community

Can we get more information about suspicious characters?

Hello,

is it possible with Cloud OCR SDK to get the list of possible candidates plus their confidence value for a suspiciuos charParam as it can be done with Abby Fine Reader Engine 10? If not, is there a chance to include this feature in future?

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

13 comments

  • Avatar
    SDK Support Team

    Hi,

    Right now it is not possible. Adding this functionality to the API isn't difficult.

    What API call are you using? processImage or processTextField/processFields?

    1
  • Avatar
    rblasco

    Hi Vasily,

    we call to the processImage action and retrieve the results in XML format. If you can add this feature to the API it would be very usefull for us, can you confirm me it?

    Thanks!

    0
  • Avatar
    SDK Support Team

    Ok. It will be available in the next release of production system. We'll notify you.

    1
  • Avatar
    rblasco

    great! thanks

    0
  • Avatar
    SDK Support Team

    Hi again,

    There is an additional parameter to processImage and processDocument. Add xml:writeRecognitionVariants=true to url parameter string. The documentation on site will be updated soon.

    0
  • Avatar
    rblasco

    ok we will try it, thanks a lot

    0
  • Avatar
    rblasco

    Hi again,

    this new parameter works fine but what about the charConfidence attr for each variant? is not possible to include it?

    thanks for your efforts

    0
  • Avatar
    rblasco

    Hi,

    should I assume that we can not count on it?

    0
  • Avatar
    rblasco

    Hi Dmitry,

    actually when we set the new parameter xml:writeRecognitionVariants to true we get an output like this:

    <charParams l="322" t="155" r="330" b="168" suspicious="1"><charRecVariants>
    <charRecVariant>s</charRecVariant>
    <charRecVariant>S</charRecVariant>
    <charRecVariant>5</charRecVariant>
    <charRecVariant>8</charRecVariant>
    </charRecVariants>5</charParams>
    

    Our question is, can we get a charConfidence attribute for each charRecVariant element as we can when using Abby Fine Reader Engine 10?

    <charParams l="964" t="368" r="1008" b="434"> <charRecVariants> <charRecVariant charConfidence="13">0</charRecVariant> <charRecVariant charConfidence="13">O</charRecVariant> <charRecVariant charConfidence="13">o</charRecVariant> <charRecVariant charConfidence="13">Ò</charRecVariant> <charRecVariant charConfidence="13">Ó</charRecVariant> <charRecVariant charConfidence="13">ò</charRecVariant> <charRecVariant charConfidence="13">ó</charRecVariant> <charRecVariant charConfidence="-1">l·l</charRecVariant> </charRecVariants>n</charParams>

    thanks

    0
  • Avatar
    Dmitry Mesheryakov

    This is not implemented at the moment and there's a reason for that - it's rather hard to decide how to interpret the confidence level, specifically how to set a threshold to decide whether a character variant is worth considering or not.

    0
  • Avatar
    rblasco

    ok, thanks for your response

    0
  • Avatar
    Dmitry Mesheryakov

    We've deployed the changes - now when 'xml:writeRecognitionVariants" is specified you get the most detailed XML possible (as in Extended enum value in FineReader Engine).

    0
  • Avatar
    rblasco

    nice! great job thanks

    0

Please sign in to leave a comment.