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

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_document_data_extractor_t scanbotsdk_document_data_extractor_t
 scanbotsdk_document_data_extractor_t class
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_data_extractor_create (scanbotsdk_document_data_extractor_configuration_t *configuration, scanbotsdk_document_data_extractor_t **result)
 Creates a new instance of scanbotsdk_document_data_extractor with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_data_extractor_free (scanbotsdk_document_data_extractor_t *self)
 Frees the memory allocated for the instance of scanbotsdk_document_data_extractor_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_data_extractor_run (scanbotsdk_document_data_extractor_t *self, scanbotsdk_image_t *image, scanbotsdk_document_data_extraction_result_t **result)
 Recognize the document in the given image.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_data_extractor_clear_result (scanbotsdk_document_data_extractor_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_document_data_extractor_verify_document (scanbotsdk_document_data_extractor_t *self, scanbotsdk_generic_document_t **document_parts, size_t document_parts_size, scanbotsdk_document_verification_report_t **result)
 Verify whether the extracted document has signs of forgery or tampering.