コミュニティ

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

この記事は役に立ちましたか?

1人中1人がこの記事が役に立ったと言っています

コメント

7件のコメント

  • Avatar
    Permanently deleted user

    Hi Samuel,

     

    You would need to access the ICharacterParams for that filed and the get the Confidence of each character. ABBYY returns a 1 (confident) or 0 (not confident) for if it was confident or not. 

    There are also some registry keys you have to change for the confidence levels to output. If you do not change the keys you will get 0 for every character.

    You need to add a key “ForceSaveConfidenceLevel” and assign the value “true” to a node under HKEY_USERS that corresponds to the service account used by the processing station. For example, in the IDC server, the key is created at “HKEY_USERS\S-1-5-21-381466792-3354852659-667958995-500\Software\ABBYY\FlexiCapture\11.0\Controller”. 

     

    We pick “S-1-5-21-381466792-3354852659-667958995-500” because this is the node that matches the administrator account. You will find this by looking under “Volatile Environment” subnode for each “S” node. The USERNAME key under the “Volatile Environment” node will have the name of the account.

     

    Thanks,

    Collins

    0
  • Avatar
    Permanently deleted user
    1
  • Avatar
    Permanently deleted user

    Thanks for the hints. Do you have a working code sample? From the SDK's API (Java) I cannot follow your suggestions.

    Thanks,

    Samuel

    0
  • Avatar
    Permanently deleted user

    Hello,

    Sorry, in the frame of the forum we do not provide the customized code sample. You may see the code samples in the Developer Help in the Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Sample scripts article.

    0
  • Avatar
    Permanently deleted user

    If you are using SDK products please address your question to technical support serving your region.

    0
  • Avatar
    Permanently deleted user

    Hello,

    I need the same so I added the key

    HKEY_USERS\S-1-5-21-4187846343-1297486807-363786784-1003\Software\ABBYY\FlexiCapture\12.0\Controller\ForceSaveConfidenceLevel = true

    to the registry and I tried to write the confidence level on the exported file.

    processed the same document many times and for a field with one character "5",  sometimes I got

     SuspiciousSymbols: 0

     Symbols: 5   IsSuspicious:False   Confidence:96

    but the most of times I got

     SuspiciousSymbols: 0

     Symbols: 5   IsSuspicious:False   Confidence:0

    It seems that the registry key is not always read.

     

    I have to do something more than add the registry key ?

    Do you know why the confidence level is not always exported ? 

    Are there any conditions I have to satisfy to use the confidence level ?

     

    Note : I tried with this key too:

     

    HKEY_CURRENT_USER\Software\ABBYY\FlexiCapture\12.0\Controller\ForceSaveConfidenceLevel = true

     

    0
  • Avatar
    Permanently deleted user

    Hello,

    Operations that require modifying the registry is out of scope of this forum because there are potentially unsafe. Please contact your regional support.

    0

サインインしてコメントを残してください。