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

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_document_enhancer_t scanbotsdk_document_enhancer_t
 scanbotsdk_document_enhancer_t class
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_enhancer_create (scanbotsdk_document_enhancer_t **result)
 Creates a new instance of scanbotsdk_document_enhancer with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_enhancer_free (scanbotsdk_document_enhancer_t *self)
 Frees the memory allocated for the instance of scanbotsdk_document_enhancer_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_enhancer_straighten (scanbotsdk_document_enhancer_t *self, scanbotsdk_image_t *image, scanbotsdk_document_straightening_parameters_t *parameters, scanbotsdk_pointf_t *prior_corners_normalized, size_t prior_corners_normalized_size, scanbotsdk_document_straightening_result_t **result)
 Straightens the document effectively straightening its edges and text.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_enhancer_is_straightening_mode_available (scanbotsdk_document_straightening_mode_t mode, bool *result)
 Check if the specified straightening mode is available (i.e. required assets are present).