|
iDRS™ SDK 16
|
Interface for COcrPageParams wrapper. More...
Go to the source code of this file.
Functions | |
| COcrPageParams | COcrPageParams_Create (idrs_exception *pargException) |
| Creates a new instance of this class. | |
| COcrPageParams | COcrPageParams_Create2 (const COcrContext argContext, idrs_exception *pargException) |
| Creates a new instance of this class and sets the associated. | |
| IDRS_BOOL | COcrPageParams_GetComputeBackgroundImage (const COcrPageParams argCOcrPageParams, idrs_exception *pargException) |
| Gets the boolean flag that specifies if the background image should be extracted during text recognition process. | |
| void | COcrPageParams_SetComputeBackgroundImage (COcrPageParams argCOcrPageParams, IDRS_BOOL const bComputeBackgroundImage, idrs_exception *pargException) |
| Sets the boolean flag that specifies if the background image should be extracted during text recognition process. | |
| IDRS_BOOL | COcrPageParams_GetDetectEmptyFormFields (const COcrPageParams argCOcrPageParams, idrs_exception *pargException) |
| Gets the boolean flag that specifies if empty form fields should be detected or not during text recognition. | |
| void | COcrPageParams_SetDetectEmptyFormFields (COcrPageParams argCOcrPageParams, IDRS_BOOL const bDetectEmptyFormFields, idrs_exception *pargException) |
| Set the boolean flag that enables or not the empty forms detection. | |
| COcrContext | COcrPageParams_GetContext (const COcrPageParams argCOcrPageParams, idrs_exception *pargException) |
| Gets the associated ocr context. | |
| void | COcrPageParams_SetContext (COcrPageParams argCOcrPageParams, const COcrContext argContext, idrs_exception *pargException) |
| Sets the associated ocr context. | |
| enum TableDetectionMode | COcrPageParams_GetTableDetectionMode (const COcrPageParams argCOcrPageParams, idrs_exception *pargException) |
| Gets the table detection mode. | |
| void | COcrPageParams_SetTableDetectionMode (COcrPageParams argCOcrPageParams, enum TableDetectionMode const evTableDetection, idrs_exception *pargException) |
| Sets the table detection mode. | |
| void | COcrPageParams_Destroy (COcrPageParams argCOcrPageParams, idrs_exception *pargException) |
| Destroys a COcrPageParams handle. | |
Interface for COcrPageParams wrapper.
| COcrPageParams COcrPageParams_Create | ( | idrs_exception * | pargException | ) |
Creates a new instance of this class.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| COcrPageParams COcrPageParams_Create2 | ( | const COcrContext | argContext, |
| idrs_exception * | pargException | ||
| ) |
Creates a new instance of this class and sets the associated.
| argContext | Ocr context to set |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
By default the associated ocr context enables only English language
| void COcrPageParams_Destroy | ( | COcrPageParams | argCOcrPageParams, |
| idrs_exception * | pargException | ||
| ) |
Destroys a COcrPageParams handle.
| argCOcrPageParams | COcrPageParams handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_BOOL COcrPageParams_GetComputeBackgroundImage | ( | const COcrPageParams | argCOcrPageParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag that specifies if the background image should be extracted during text recognition process.
The background image represents a variant of the original image where the detected text characters are removed. iDRS SDK takes care of replacing the zones where the text has been removed with the appropriate colors.
If set to IDRS_TRUE, the background image will be extracted and set into the
| argCOcrPageParams | COcrPageParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| COcrContext COcrPageParams_GetContext | ( | const COcrPageParams | argCOcrPageParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the associated ocr context.
The ocr context allows specifying options like languages to detect. See
| argCOcrPageParams | COcrPageParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_BOOL COcrPageParams_GetDetectEmptyFormFields | ( | const COcrPageParams | argCOcrPageParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag that specifies if empty form fields should be detected or not during text recognition.
Default value is IDRS_FALSE
| argCOcrPageParams | COcrPageParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum TableDetectionMode COcrPageParams_GetTableDetectionMode | ( | const COcrPageParams | argCOcrPageParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the table detection mode.
| argCOcrPageParams | COcrPageParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void COcrPageParams_SetComputeBackgroundImage | ( | COcrPageParams | argCOcrPageParams, |
| IDRS_BOOL const | bComputeBackgroundImage, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the boolean flag that specifies if the background image should be extracted during text recognition process.
The background image represents a variant of the original image where the detected text characters are removed. iDRS SDK takes care of replacing the zones where the text has been removed with the appropriate colors.
If set to IDRS_TRUE, the background image will be extracted and set into the
| argCOcrPageParams | COcrPageParams handle |
| bComputeBackgroundImage | Boolean flag enabling/disabling background image extraction |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void COcrPageParams_SetContext | ( | COcrPageParams | argCOcrPageParams, |
| const COcrContext | argContext, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the associated ocr context.
The ocr context allows specifying options like languages to detect. See
| argCOcrPageParams | COcrPageParams handle |
| argContext | Associated ocr context |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void COcrPageParams_SetDetectEmptyFormFields | ( | COcrPageParams | argCOcrPageParams, |
| IDRS_BOOL const | bDetectEmptyFormFields, | ||
| idrs_exception * | pargException | ||
| ) |
Set the boolean flag that enables or not the empty forms detection.
| argCOcrPageParams | COcrPageParams handle |
| bDetectEmptyFormFields | IDRS_TRUE to enable the empty forms detection, IDRS_FALSE otherwise. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void COcrPageParams_SetTableDetectionMode | ( | COcrPageParams | argCOcrPageParams, |
| enum TableDetectionMode const | evTableDetection, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the table detection mode.
Setting this flag will change the way the ocr engine will interpret the layout of the page. Please see
| argCOcrPageParams | COcrPageParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |