|
iDRS™ SDK 16
|
Interface for CBarcodeDetection wrapper. More...
Go to the source code of this file.
Functions | |
| CBarcodeDetection | CBarcodeDetection_Create (const CIDRS argIdrs, idrs_exception *pargException) |
| Creates a new instance of this class and associates the provided. | |
| CBarcodeDetection | CBarcodeDetection_Create2 (const CIDRS argIdrs, const CBarcodeParams argBarcodeParams, idrs_exception *pargException) |
| Creates a new instance of this class and associates the provided. | |
| CBarcodeParams | CBarcodeDetection_GetBarcodeParams (const CBarcodeDetection argCBarcodeDetection, idrs_exception *pargException) |
| Gets the parameters used for the detection (barcode type(s), full page/zonal recognition, etc) | |
| void | CBarcodeDetection_SetBarcodeParams (CBarcodeDetection argCBarcodeDetection, const CBarcodeParams argBarcodeParams, idrs_exception *pargException) |
| Sets the parameters used for barcode detection. | |
| IProgressPageProcessing | CBarcodeDetection_GetProgressCallback (const CBarcodeDetection argCBarcodeDetection, idrs_exception *pargException) |
| Gets the callback used to notify about barcode detection progress. | |
| void | CBarcodeDetection_SetProgressCallback (CBarcodeDetection argCBarcodeDetection, IProgressPageProcessing argpProgressCallback, idrs_exception *pargException) |
| Sets the callback used to notify about barcode detection progress. | |
| CBarcodeArray | CBarcodeDetection_DetectBarcodes (const CBarcodeDetection argCBarcodeDetection, const CImage argImage, idrs_exception *pargException) |
| Runs barcode detection and returns the detected barcodes. | |
| void | CBarcodeDetection_DetectBarcodes2 (const CBarcodeDetection argCBarcodeDetection, CPage argPage, idrs_exception *pargException) |
| Runs barcode detection and returns the detected barcodes. | |
| void | CBarcodeDetection_Destroy (CBarcodeDetection argCBarcodeDetection, idrs_exception *pargException) |
| Destroys a CBarcodeDetection handle. | |
Interface for CBarcodeDetection wrapper.
| CBarcodeDetection CBarcodeDetection_Create | ( | const CIDRS | argIdrs, |
| idrs_exception * | pargException | ||
| ) |
Creates a new instance of this class and associates the provided.
| argIdrs | CIDRS instance |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CBarcodeDetection CBarcodeDetection_Create2 | ( | const CIDRS | argIdrs, |
| const CBarcodeParams | argBarcodeParams, | ||
| idrs_exception * | pargException | ||
| ) |
Creates a new instance of this class and associates the provided.
| argIdrs | CIDRS instance |
| argBarcodeParams | Object containing the barcode detection parameters |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CBarcodeDetection_Destroy | ( | CBarcodeDetection | argCBarcodeDetection, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CBarcodeDetection handle.
| argCBarcodeDetection | CBarcodeDetection handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CBarcodeArray CBarcodeDetection_DetectBarcodes | ( | const CBarcodeDetection | argCBarcodeDetection, |
| const CImage | argImage, | ||
| idrs_exception * | pargException | ||
| ) |
Runs barcode detection and returns the detected barcodes.
| argCBarcodeDetection | CBarcodeDetection handle |
| argImage | Image on which barcode detection will be run |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CBarcodeDetection_DetectBarcodes2 | ( | const CBarcodeDetection | argCBarcodeDetection, |
| CPage | argPage, | ||
| idrs_exception * | pargException | ||
| ) |
Runs barcode detection and returns the detected barcodes.
| argCBarcodeDetection | CBarcodeDetection handle |
| argPage | Page on which barcode detection will be run. The page object data will be updated with the recognized barcodes. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CBarcodeParams CBarcodeDetection_GetBarcodeParams | ( | const CBarcodeDetection | argCBarcodeDetection, |
| idrs_exception * | pargException | ||
| ) |
Gets the parameters used for the detection (barcode type(s), full page/zonal recognition, etc)
By default, the barcode detection runs on full page with all barcode types enabled (depends on enabled extensions)
| argCBarcodeDetection | CBarcodeDetection handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IProgressPageProcessing CBarcodeDetection_GetProgressCallback | ( | const CBarcodeDetection | argCBarcodeDetection, |
| idrs_exception * | pargException | ||
| ) |
Gets the callback used to notify about barcode detection progress.
The callback mechanism also allows stopping the barcode detection. See
By default, there's no callback defined for barcode detection, so the returned value will be NULL
| argCBarcodeDetection | CBarcodeDetection handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CBarcodeDetection_SetBarcodeParams | ( | CBarcodeDetection | argCBarcodeDetection, |
| const CBarcodeParams | argBarcodeParams, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the parameters used for barcode detection.
By default, the barcode detection runs on full page with all barcode types enabled (depends on enabled extensions)
| argCBarcodeDetection | CBarcodeDetection handle |
| argBarcodeParams | Parameters used for barcode detection. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CBarcodeDetection_SetProgressCallback | ( | CBarcodeDetection | argCBarcodeDetection, |
| IProgressPageProcessing | argpProgressCallback, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the callback used to notify about barcode detection progress.
The callback mechanism also allows stopping the barcode detection. See
Please make sure that the provided object lifetime spans the duration of the barcode detection progress. Deleting the object pointed by argpProgressCallback before/while the barcode detection is running might result in a crash.
By default, there's no callback defined for barcode detection, so the returned value will be NULL
| argCBarcodeDetection | CBarcodeDetection handle |
| argpProgressCallback | Pointer to the progress callback object that will be used by barcode detection |
| pargException | Pointer to exception structure that will be filled if an exception occurs |