Community

How to extract / find confidence values of date fields in FlexiCapture recogintion?

Dear forum / ABBYY supporters,

how do we extract / find confidence values of date fields in FlexiCapture recogintion?

In the documentation, we could not find any code samples, nor does the SDK provide methods, e. g. in the IField / IFieldValue class, which might help us to find how "confident" FlexiCapture was in finding a date value in a document. We have documents which might have markings or noise across the relevant information we would like to extract.

Thanks in advance,

Samuel Eickelberg

0

Comments

1 comment

  • Avatar
    Nikolay Krivchanskiy

    Hi Samuel,

    Despite there is no “confidence” parameter for the IField object, the IFieldValue has parameter IsSuspicious, which will be set to true, if this field has low confidence level. 

    You can obtain confidence level for every character from the IFieldValue. To do that, you should get value from AsText property and then you will be able to call IText::GetCharParamsEx which will return you full character properties for the requested symbol. Moreover, if you set your IField::Type to Date, you can check IFieldValue::IsValid, to verify that the detected data type matches the set type of the field.

    Also it might help to check errors and warnings, raised during recognition of this field. It can be done in IFieldValue::Errors, IFieldValue::Warnings.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.