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
15#include <stdbool.h>
16#include <stddef.h>
17#include <stdint.h>
18#include <string.h>
19#include <ScanbotSDKErrorCode.h>
20#include <ScanbotSDKDefs.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26
53
63
70
78
90
100
110
111
126
136
143
170 scanbotsdk_accumulated_results_verifier_configuration_t* frame_accumulation_configuration,
171 bool enable_detection,
172 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
173 bool return_crops,
174 scanbotsdk_processing_mode_t processing_mode,
176
187
188
196
217
242
267
292
323
324
331
344 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
346
357
358
366
391
392
393#ifdef __cplusplus
394} /* extern "C" */
395#endif
396
397#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:25
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:221
struct scanbotsdk_generic_document_t scanbotsdk_generic_document_t
scanbotsdk_generic_document_t class
Definition ScanbotSDKGenericDocument.h:630
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.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_result_get_raw_mrz(scanbotsdk_mrz_scanner_result_t *self, const char **raw_mrz)
Returns value of raw_mrz field of the given object. The returned pointers do NOT own the underlying o...
struct scanbotsdk_mrz_scanner_configuration_t scanbotsdk_mrz_scanner_configuration_t
scanbotsdk_mrz_scanner_configuration_t class
Definition ScanbotSDKMrzTypes.h:142
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:330
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:69
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:32
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:117
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:47
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CREW_MEMBER_CERTIFICATE
Definition ScanbotSDKMrzTypes.h:38
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_ID_CARD
Definition ScanbotSDKMrzTypes.h:41
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_UNKNOWN
Definition ScanbotSDKMrzTypes.h:35
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CH_DRIVING_LICENSE
Definition ScanbotSDKMrzTypes.h:50
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_PASSPORT
Definition ScanbotSDKMrzTypes.h:44
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_REJECT
Definition ScanbotSDKMrzTypes.h:123
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_ACCEPT
Definition ScanbotSDKMrzTypes.h:120