|
| | IsImageIgnored (image_object) |
| | A callback function used to determine whether an image object should be excluded from OCR text recognition. More...
|
| |
| | NeedToCancelNow (info) |
| | A callback function to used to cancel current OCR progress. More...
|
| |
This class represents a callback object to cancel OCR progress. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented FSDK.OCRCallback object can be set by function FSDK.OCREngine.SetOCRCallback.
◆ IsImageIgnored()
| FSDK.OCRCallback.IsImageIgnored |
( |
image_object |
| ) |
|
A callback function used to determine whether an image object should be excluded from OCR text recognition.
- Parameters
-
- Returns
- true means to ignore the image object during OCR processing, the image will not be processed by the OCR engine for text extraction, but the image itself remains in the output document, while false means not.
◆ NeedToCancelNow()
| FSDK.OCRCallback.NeedToCancelNow |
( |
info |
| ) |
|
A callback function to used to cancel current OCR progress.
- Parameters
-
| [in] | info | A string that describes the OCR progress information. |
- Returns
- true means to cancel progress, while false means not.