8#ifndef SCANBOTSDK_DOCUMENTENHANCER_H
9#define SCANBOTSDK_DOCUMENTENHANCER_H
20#include <ScanbotSDKDefs.h>
85 size_t prior_corners_normalized_size,
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 Image Ref C API.
The Scanbot SDK C API primitive types.
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).
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.
struct scanbotsdk_document_straightening_result_t scanbotsdk_document_straightening_result_t
scanbotsdk_document_straightening_result_t class
Definition ScanbotSDKDocumentEnhancerTypes.h:174
struct scanbotsdk_document_enhancer_t scanbotsdk_document_enhancer_t
scanbotsdk_document_enhancer_t class
Definition ScanbotSDKDocumentEnhancer.h:34
scanbotsdk_document_straightening_mode_t
scanbotsdk_document_straightening_mode_t enum
Definition ScanbotSDKDocumentEnhancerTypes.h:31
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,...
struct scanbotsdk_document_straightening_parameters_t scanbotsdk_document_straightening_parameters_t
scanbotsdk_document_straightening_parameters_t class
Definition ScanbotSDKDocumentEnhancerTypes.h:58
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 locatio...
Represents a point with floating point coordinates.
Definition ScanbotSDKTypes.h:33
struct scanbotsdk_image_t scanbotsdk_image_t
Represents an instance of the opaque image.
Definition ScanbotSDKImage.h:31