BlinkID C SDK version 5.16.0
|
A recognizer that can scan barcodes. More...
#include <BarcodeRecognizer.h>
Public Member Functions | |
MB_API MBRecognizerErrorStatus MB_CALL | barcodeRecognizerCreate (MBBarcodeRecognizer **barcodeRecognizer, MBBarcodeRecognizerSettings const *barcodeRecognizerSettings) |
Allocates and initializes new MBBarcodeRecognizer object. More... | |
MB_API MBRecognizerErrorStatus MB_CALL | barcodeRecognizerUpdate (MBBarcodeRecognizer *barcodeRecognizer, MBBarcodeRecognizerSettings const *barcodeRecognizerSettings) |
Updates the MBBarcodeRecognizer with the new settings. Note that updating the recognizer while it is being in use by MBRecognizerRunner will fail. More... | |
MB_API MBRecognizerErrorStatus MB_CALL | barcodeRecognizerResult (MBBarcodeRecognizerResult *result, MBBarcodeRecognizer const *barcodeRecognizer) |
Obtains the result from the given MBBarcodeRecognizer object. More... | |
MB_API MBRecognizerErrorStatus MB_CALL | barcodeRecognizerDelete (MBBarcodeRecognizer **barcodeRecognizer) |
Destroys the given MBBarcodeRecognizer. More... | |
A recognizer that can scan barcodes.
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerCreate | ( | MBBarcodeRecognizer ** | barcodeRecognizer, |
MBBarcodeRecognizerSettings const * | barcodeRecognizerSettings | ||
) |
Allocates and initializes new MBBarcodeRecognizer object.
barcodeRecognizer | Pointer to pointer referencing the created MBBarcodeRecognizer object. |
barcodeRecognizerSettings | Settings that will be used for creating of the MBBarcodeRecognizer object. |
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerDelete | ( | MBBarcodeRecognizer ** | barcodeRecognizer | ) |
Destroys the given MBBarcodeRecognizer.
barcodeRecognizer | Pointer to pointer to MBBarcodeRecognizer structure that needs to be destroyed. After destruction, the pointer to MBBarcodeRecognizer structure will be set to NULL. |
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerResult | ( | MBBarcodeRecognizerResult * | result, |
MBBarcodeRecognizer const * | barcodeRecognizer | ||
) |
Obtains the result from the given MBBarcodeRecognizer object.
result | MBBarcodeRecognizerResult structure that will be filled with the recognized data. Note that all pointers in structure will remain valid until given recognizer is destroyed with barcodeRecognizerDelete function or is used for performing the new recognition. |
barcodeRecognizer | MBBarcodeRecognizer from which result should be obtained. |
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerUpdate | ( | MBBarcodeRecognizer * | barcodeRecognizer, |
MBBarcodeRecognizerSettings const * | barcodeRecognizerSettings | ||
) |
Updates the MBBarcodeRecognizer with the new settings. Note that updating the recognizer while it is being in use by MBRecognizerRunner will fail.
barcodeRecognizer | MBBarcodeRecognizer that should be updated with new settings. |
barcodeRecognizerSettings | Settings that will be used for updating the MBBarcodeRecognizer object. |