Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKMrzTypes.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/MRZTypes.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_MRZTYPES_H
9#define SCANBOTSDK_MRZTYPES_H
10
11
12#include <ScanbotSDKTypes.h>
16#include <stdbool.h>
17#include <stddef.h>
18#include <stdint.h>
19#include <string.h>
20#include <ScanbotSDKErrorCode.h>
21#include <ScanbotSDKDefs.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
60
70
77
85
97
107
117
118
135
145
152
179 scanbotsdk_accumulated_results_verifier_configuration_t* frame_accumulation_configuration,
180 bool enable_detection,
181 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
182 bool return_crops,
183 scanbotsdk_processing_mode_t processing_mode,
185
196
197
205
226
251
276
301
332
333
340
353 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
355
366
367
375
400
401
402#ifdef __cplusplus
403} /* extern "C" */
404#endif
405
406#endif /* SCANBOTSDK_MRZTYPES_H */
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:26
The Scanbot SDK C API primitive types.
scanbotsdk_processing_mode_t
scanbotsdk_processing_mode_t enum
Definition ScanbotSDKCommonTypes.h:30
struct scanbotsdk_accumulated_results_verifier_configuration_t scanbotsdk_accumulated_results_verifier_configuration_t
scanbotsdk_accumulated_results_verifier_configuration_t class
Definition ScanbotSDKFrameAccumulationTypes.h:232
struct scanbotsdk_generic_document_t scanbotsdk_generic_document_t
scanbotsdk_generic_document_t class
Definition ScanbotSDKGenericDocument.h:643
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_get_return_crops(scanbotsdk_mrz_scanner_configuration_t *self, bool *return_crops)
Returns value of return_crops field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_configuration_free(scanbotsdk_mrz_parser_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_mrz_parser_configuration_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_result_free(scanbotsdk_mrz_scanner_result_t *object)
Frees the memory allocated for the instance of scanbotsdk_mrz_scanner_result_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_create(scanbotsdk_accumulated_results_verifier_configuration_t *frame_accumulation_configuration, bool enable_detection, scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling, bool return_crops, scanbotsdk_processing_mode_t processing_mode, scanbotsdk_mrz_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_mrz_scanner_configuration with given params and stores it in the...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_set_processing_mode(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_processing_mode_t processing_mode)
Sets value of processing_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_set_enable_detection(scanbotsdk_mrz_scanner_configuration_t *self, bool enable_detection)
Sets value of enable_detection field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_configuration_create(scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling, scanbotsdk_mrz_parser_configuration_t **result)
Creates a new instance of scanbotsdk_mrz_parser_configuration with given params and stores it in the ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_set_frame_accumulation_configuration(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_accumulated_results_verifier_configuration_t *frame_accumulation_configuration)
Sets value of frame_accumulation_configuration field of the given object.
struct scanbotsdk_mrz_scanner_configuration_t scanbotsdk_mrz_scanner_configuration_t
scanbotsdk_mrz_scanner_configuration_t class
Definition ScanbotSDKMrzTypes.h:151
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_result_get_success(scanbotsdk_mrz_scanner_result_t *self, bool *success)
Returns value of success field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_get_enable_detection(scanbotsdk_mrz_scanner_configuration_t *self, bool *enable_detection)
Returns value of enable_detection field of the given object.
struct scanbotsdk_mrz_parser_configuration_t scanbotsdk_mrz_parser_configuration_t
scanbotsdk_mrz_parser_configuration_t class
Definition ScanbotSDKMrzTypes.h:339
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_configuration_set_incomplete_result_handling(scanbotsdk_mrz_parser_configuration_t *self, scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling)
Sets value of incomplete_result_handling field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_free(scanbotsdk_mrz_scanner_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_mrz_scanner_configuration_t....
struct scanbotsdk_mrz_scanner_result_t scanbotsdk_mrz_scanner_result_t
scanbotsdk_mrz_scanner_result_t class
Definition ScanbotSDKMrzTypes.h:76
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_create_with_defaults(scanbotsdk_mrz_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_mrz_scanner_configuration_t with given required params and store...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_configuration_create_with_defaults(scanbotsdk_mrz_parser_configuration_t **result)
Creates a new instance of scanbotsdk_mrz_parser_configuration_t with given required params and stores...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_configuration_get_incomplete_result_handling(scanbotsdk_mrz_parser_configuration_t *self, scanbotsdk_mrz_incomplete_result_handling_t *incomplete_result_handling)
Returns value of incomplete_result_handling field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_incomplete_result_handling_t_to_string(scanbotsdk_mrz_incomplete_result_handling_t value, const char **result)
Returns the string representation of the given scanbotsdk_mrz_incomplete_result_handling_t value.
scanbotsdk_mrz_document_type_t
scanbotsdk_mrz_document_type_t enum
Definition ScanbotSDKMrzTypes.h:33
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_set_incomplete_result_handling(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling)
Sets value of incomplete_result_handling field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_result_get_document(scanbotsdk_mrz_scanner_result_t *self, scanbotsdk_generic_document_t **document)
Returns value of document field of the given object. The returned pointers do NOT own the underlying ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_get_incomplete_result_handling(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_mrz_incomplete_result_handling_t *incomplete_result_handling)
Returns value of incomplete_result_handling field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_get_frame_accumulation_configuration(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_accumulated_results_verifier_configuration_t **frame_accumulation_configuration)
Returns value of frame_accumulation_configuration field of the given object. The returned pointers do...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_get_processing_mode(scanbotsdk_mrz_scanner_configuration_t *self, scanbotsdk_processing_mode_t *processing_mode)
Returns value of processing_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_document_type_t_to_string(scanbotsdk_mrz_document_type_t value, const char **result)
Returns the string representation of the given scanbotsdk_mrz_document_type_t value.
scanbotsdk_mrz_incomplete_result_handling_t
scanbotsdk_mrz_incomplete_result_handling_t enum
Definition ScanbotSDKMrzTypes.h:124
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_result_get_raw_mrz(scanbotsdk_mrz_scanner_result_t *self, scanbotsdk_u8string_ref_t *raw_mrz)
Returns value of raw_mrz field of the given object. The returned pointers do NOT own the underlying o...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_configuration_set_return_crops(scanbotsdk_mrz_scanner_configuration_t *self, bool return_crops)
Sets value of return_crops field of the given object.
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_VISA
Definition ScanbotSDKMrzTypes.h:53
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CREW_MEMBER_CERTIFICATE
Definition ScanbotSDKMrzTypes.h:41
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_ID_CARD
Definition ScanbotSDKMrzTypes.h:45
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_UNKNOWN
Definition ScanbotSDKMrzTypes.h:37
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CH_DRIVING_LICENSE
Definition ScanbotSDKMrzTypes.h:57
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_PASSPORT
Definition ScanbotSDKMrzTypes.h:49
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_REJECT
Definition ScanbotSDKMrzTypes.h:132
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_ACCEPT
Definition ScanbotSDKMrzTypes.h:128
Represents a non-owning view of a UTF-8 encoded string.
Definition ScanbotSDKTypes.h:112