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
Comments
13 comments
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?
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!
Ok. It will be available in the next release of production system. We'll notify you.
great! thanks
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.
ok we will try it, thanks a lot
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
Hi,
should I assume that we can not count on it?
Hi Dmitry,
actually when we set the new parameter xml:writeRecognitionVariants to true we get an output like this:
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
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.
ok, thanks for your response
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).nice! great job thanks
Please sign in to leave a comment.