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
14#include <stdbool.h>
15#include <stddef.h>
16#include <stdint.h>
17#include <string.h>
18#include <ScanbotSDKErrorCode.h>
19#include <ScanbotSDKDefs.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
52
62
69
77
89
99
109
110
125
135
142
163 scanbotsdk_accumulated_results_verifier_configuration_t* frame_accumulation_configuration,
164 bool enable_detection,
165 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
166 bool return_crops,
168
179
180
188
209
234
259
284
285
292
305 scanbotsdk_mrz_incomplete_result_handling_t incomplete_result_handling,
307
318
319
327
352
353
354#ifdef __cplusplus
355} /* extern "C" */
356#endif
357
358#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
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_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_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_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_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:141
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:291
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:68
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:31
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_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:116
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:46
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CREW_MEMBER_CERTIFICATE
Definition ScanbotSDKMrzTypes.h:37
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_ID_CARD
Definition ScanbotSDKMrzTypes.h:40
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_UNKNOWN
Definition ScanbotSDKMrzTypes.h:34
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_CH_DRIVING_LICENSE
Definition ScanbotSDKMrzTypes.h:49
@ SCANBOTSDK_MRZ_DOCUMENT_TYPE_PASSPORT
Definition ScanbotSDKMrzTypes.h:43
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_REJECT
Definition ScanbotSDKMrzTypes.h:122
@ SCANBOTSDK_MRZ_INCOMPLETE_RESULT_HANDLING_ACCEPT
Definition ScanbotSDKMrzTypes.h:119