ReadBarcode
Detect and interpret a 1d barcode within the provided image. Can be canceled by Watchdog.
Syntax
Definition:
HRESULT ReadBarcode(
HRESULT hrPrev,
ITcVnImage* ipSrcImage,
ITcVnContainer*& ipDecodedData,
ULONG eBarcodeType
)Parameters
|
Name |
Type |
Description |
|---|---|---|
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipSrcImage |
Source image (USINT elements, 1 channel or 3 channel (3 channel input is expected to be RGB and internally converted to Gray)) | |
|
ipDecodedData |
Returns the decoded code (ContainerType_Vector_String_SINT) | |
|
eBarcodeType |
ULONG |
Types of barcode to search for (ETcVnBarcodeType) |
Required License
TC3 Vision Code Reading
Return value