BlinkID C SDK version 5.16.0
BarcodeRecognizer.h
Go to the documentation of this file.
1
14#ifndef BARCODE_RECOGNIZER_INCLUDED
15#define BARCODE_RECOGNIZER_INCLUDED
16
17#include "Recognizer/Export.h"
19#include "Recognizer/Types.h"
22
23#ifdef __cplusplus
24extern "C"
25{
26#endif
27
29
34
41
47{
61
69
76
82
87
92
97
102
107
112
117
122
127
128#ifdef __cplusplus
131 {
133 }
134#endif
135};
136
142{
145
148};
149
154
160
164MB_EXPORTED_TYPE typedef struct MBBarcodeRecognizer MBBarcodeRecognizer;
165
174MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerCreate( MBBarcodeRecognizer ** barcodeRecognizer, MBBarcodeRecognizerSettings const * barcodeRecognizerSettings );
175
185MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerUpdate( MBBarcodeRecognizer * barcodeRecognizer, MBBarcodeRecognizerSettings const * barcodeRecognizerSettings );
186
197
206
207#ifdef __cplusplus
208}
209#endif
210
211#endif
typedefMB_EXPORTED_TYPE struct MBBarcodeRecognizerSettings MBBarcodeRecognizerSettings
Typedef for MBBarcodeRecognizerSettings structure.
Definition: BarcodeRecognizer.h:33
MBRecognizerErrorStatus
Enumeration of all possible error statuses.
Definition: RecognizerError.h:28
unsigned char MBBool
Boolean type for C SDK.
Definition: Types.h:20
Structure that holds result from scanning barcode.
Definition: BarcodeData.h:75
A recognizer that can scan barcodes.
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerDelete(MBBarcodeRecognizer **barcodeRecognizer)
Destroys the given MBBarcodeRecognizer.
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 ...
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerResult(MBBarcodeRecognizerResult *result, MBBarcodeRecognizer const *barcodeRecognizer)
Obtains the result from the given MBBarcodeRecognizer object.
MB_API MBRecognizerErrorStatus MB_CALL barcodeRecognizerCreate(MBBarcodeRecognizer **barcodeRecognizer, MBBarcodeRecognizerSettings const *barcodeRecognizerSettings)
Allocates and initializes new MBBarcodeRecognizer object.
A result that can be obtained from MBBarcodeRecognizer.
Definition: BarcodeRecognizer.h:142
MBBaseRecognizerResult baseResult
Definition: BarcodeRecognizer.h:144
MBBarcodeData barcodeData
Definition: BarcodeRecognizer.h:147
Settings for configuring MBBarcodeRecognizer.
Definition: BarcodeRecognizer.h:47
MBBool scanCode128
Definition: BarcodeRecognizer.h:86
MB_API void MB_CALL barcodeRecognizerSettingsInit(MBBarcodeRecognizerSettings *)
Populate MBBarcodeRecognizerSettings structure with default values.
MBBool scanQRCode
Definition: BarcodeRecognizer.h:116
MBBool scanPDF417
Definition: BarcodeRecognizer.h:111
MBBool useAutoScale
Definition: BarcodeRecognizer.h:60
MBBool shouldScanUncertain
Definition: BarcodeRecognizer.h:75
MBBool scanEAN13
Definition: BarcodeRecognizer.h:96
MBBool scanEAN8
Definition: BarcodeRecognizer.h:101
MBBool scanCode39
Definition: BarcodeRecognizer.h:91
MBBool scanUPCE
Definition: BarcodeRecognizer.h:126
MBBool readCode39AsExtendedData
Definition: BarcodeRecognizer.h:81
MBBool nullQuietZoneAllowed
Definition: BarcodeRecognizer.h:68
MBBool scanUPCA
Definition: BarcodeRecognizer.h:121
MBBool shouldScanInverse
Definition: BarcodeRecognizer.h:51
MBBool slowerThoroughScan
Definition: BarcodeRecognizer.h:55
MBBool scanITF
Definition: BarcodeRecognizer.h:106
This is base structure for all Recognizer results.
Definition: Recognizer.h:71