Question
How to force processing station to store confidence level?
For example when batches are created directly in the Project Setup Station, they contains a character confidence level. But when a hot folder or Scanning station is used, zero is get.
Answer
- Open the regedit.exe and navigate to
HKEY_CURRENT_USER\Software\ABBYY\FlexiCapture\12.0\Controller
. If there is no Controller key, create it. - Add a new String Value with name ForceSaveConfidenceLevel and value true.
- Run the Processing Station with identity of the user. Open Windows services and change the Log On As to your account.
- Retrieve the confidence level for a character from a field:
Context.Field("Confidence").Text = Context.Field("Field1").Symbols[0].Confidence.ToString();
Note: The confidence level is stored only for recognized characters. If FlexiCapture use a text from PDF text layer, then confidence will be equal to zero.
Comments
3 comments
Salman Fariz
Hi, I followed all the steps, inside the document definition, when I run test it's showing the confidence percentage. But when I close the definition and publish it, then I created a test batch and loaded a new document in to that batch of the specific document type, it shows confidence level as 0. Can anyone help me please.
Jervy Dela Cruz
Hi Salman,
See the note in this article:
Note: The confidence level is stored only for recognized characters. If FlexiCapture use a text from PDF text layer, then confidence will be equal to zero.
Document Definition doesn't use PDF text layer and only use OCR.
So, try to change your processing to Use OCR only.
Nikita Shevchenko
You need to enable the registry key under every user that can possibly run recognition tasks:
E.g. if the Processing Station service is run under the NETWORK SERVICE account, then the registry key needs to be created here:
If it is the service account then you need it to be created for that specific user.
To determine the SSID of a specific user account, you may open Registry Editor and navigate to:
Please sign in to leave a comment.