16.0.15
📅 2023-01-28
New features
Support for editing, detecting and outputting PDF form fields
The iDRS now has the notion of form field, and allows several operations around it:
-
You can add and edit form fields in a
CPageContent2object -
During OCR processing, the iDRS can detect empty form fields, and automatically add candidates found in the
CPageContent2object -
Form fields can be added to the output PDF documents created later
The following form field types are supported:
For code snippets illustrating how to use this new feature, go to the Developer Guide at chapter Forms fields.
Future versions of iDRS will introduce the ability to import form fields from an input PDF, as well as to update data in an existing PDF form (new or updated fields).
Editing
A new class CPageInteractiveForm is created to handle form fields. It allows you to set or update the default form style via the CPageInteractiveForm.DefaultFieldStyle property, and the form fields themselves via the CPageInteractiveForm.FormFields property.
This class is accessible using the new property CPageMetadata.InteractiveForm.
Detecting
The new property COcrContext.EmptyFormsDetection allows to activate the detection of form fields during character recognition.
The detection results are available in the CPageInteractiveForm instance of the CPage content.
|
Scope of the detection feature
The detection feature can only find empty form fields, i.e. those that do not contain any written data. Form fields containing an existing value will NOT be detected.
|
|
Performance of form fields detection
When empty form field detection is enabled, recognition time is greatly increased. |
Fixed bugs
| ID | Description |
|---|---|
IDRSRD-6307 |
The iDRS incorrectly detects Thai language on an English document |
IDRSRD-6260 |
The iDRS crashes/hangs when detecting language and orientation of the attached document |
IDRSRD-6262 |
The iDRS crashes when detecting the language of a specific image |
IDRSRD-6199 |
Performance of iDRS corners detection feature can be improved |
IDRSRD-6074 |
The iDRS crashes when aborting OCR processing during DRS_END phase |
IDRSRD-6027 |
The iDRS processing time is slower with worker thread count higher than 1, for Asian languages |
IDRSDEV-1503 |
The iDRS may crash when memory threshold is reached |
IDRSDEV-1512 |
The id of iDRS C API macOS library should be set |
IDRSDEV-1449 |
The iDRS should allow to add or edit Form fields on document pages |
IDRSDEV-1443 |
The iDRS should be able to detect empty form fields on an image |
IDRSDEV-780 |
The iDRS should be able to write Form data when creating a PDF document |