Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKMrzScanner.h File Reference

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_mrz_scanner_t scanbotsdk_mrz_scanner_t
 scanbotsdk_mrz_scanner_t class
 
typedef struct scanbotsdk_mrz_parser_t scanbotsdk_mrz_parser_t
 scanbotsdk_mrz_parser_t class
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_create (scanbotsdk_mrz_scanner_configuration_t *configuration, scanbotsdk_mrz_scanner_t **result)
 Creates a new instance of scanbotsdk_mrz_scanner with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_free (scanbotsdk_mrz_scanner_t *self)
 Frees the memory allocated for the instance of scanbotsdk_mrz_scanner_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_run (scanbotsdk_mrz_scanner_t *self, scanbotsdk_image_t *image, scanbotsdk_mrz_scanner_result_t **result)
 Recognize the MRZ in the given image.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_scanner_clear_result (scanbotsdk_mrz_scanner_t *self)
 Clears the accumulated results. Should be called after a document has been recognized to the customers satisfaction to prevent a poisoned cache.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_create (scanbotsdk_mrz_parser_configuration_t *configuration, scanbotsdk_mrz_parser_t **result)
 Creates a new instance of scanbotsdk_mrz_parser with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_free (scanbotsdk_mrz_parser_t *self)
 Frees the memory allocated for the instance of scanbotsdk_mrz_parser_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_mrz_parser_parse (scanbotsdk_mrz_parser_t *self, const char *text, scanbotsdk_mrz_scanner_result_t **result)
 Parse the MRZ string.