8#ifndef SCANBOTSDK_DOCUMENTSTRAIGHTENER_H
9#define SCANBOTSDK_DOCUMENTSTRAIGHTENER_H
20#include <ScanbotSDKDefs.h>
90 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:26
ScanbotSDK Image Ref C API.
The Scanbot SDK C API primitive types.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_straightener_free(scanbotsdk_document_straightener_t *self)
Frees the memory allocated for the instance of scanbotsdk_document_straightener_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_straightener_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).
struct scanbotsdk_document_straightening_result_t scanbotsdk_document_straightening_result_t
scanbotsdk_document_straightening_result_t class
Definition ScanbotSDKDocumentStraightenerTypes.h:176
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_straightener_run(scanbotsdk_document_straightener_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 document photos by eliminating physical deformations and surface warping,...
scanbotsdk_document_straightening_mode_t
scanbotsdk_document_straightening_mode_t enum
Definition ScanbotSDKDocumentStraightenerTypes.h:31
struct scanbotsdk_document_straightener_t scanbotsdk_document_straightener_t
scanbotsdk_document_straightener_t class
Definition ScanbotSDKDocumentStraightener.h:36
struct scanbotsdk_document_straightening_parameters_t scanbotsdk_document_straightening_parameters_t
scanbotsdk_document_straightening_parameters_t class
Definition ScanbotSDKDocumentStraightenerTypes.h:60
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_straightener_create(scanbotsdk_document_straightener_t **result)
Creates a new instance of scanbotsdk_document_straightener with given params and stores it in the loc...
Represents a point with floating point coordinates.
Definition ScanbotSDKTypes.h:36
struct scanbotsdk_image_t scanbotsdk_image_t
Represents an instance of the opaque image.
Definition ScanbotSDKImage.h:31