Last Updated on

Issue:
During KeyValue Training the boxes do not provide the correct content of the document, so the creation of regular expressions is not possible. As you can see in the below image the key overlay selected is extracting totally different content.

 

Analysis:

The issue is observed / seen when different ghost-script parameters are used and  ghostScript.command.png.params in application.properties file is not updated with the same parameters. To get the coreect results you need to make sure that ghost-script parameters are used and  ghostScript.command.png.params in application.properties file match. 

In above case we are using GhostScript property with density -r200 without changing ghostScript.command.png.params in application.properties due to which we are seeing irregularities in OCR results.

 

Was this article helpful to you?

Abhishek Jain