Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKDocumentStraightener.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/DocumentStraightener.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_DOCUMENTSTRAIGHTENER_H
9#define SCANBOTSDK_DOCUMENTSTRAIGHTENER_H
10
11
12#include <ScanbotSDKImage.h>
13#include <ScanbotSDKTypes.h>
15#include <stdbool.h>
16#include <stddef.h>
17#include <stdint.h>
18#include <string.h>
19#include <ScanbotSDKErrorCode.h>
20#include <ScanbotSDKDefs.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26
37
48);
49
58);
59
87 scanbotsdk_image_t* image,
89 scanbotsdk_pointf_t* prior_corners_normalized,
90 size_t prior_corners_normalized_size,
92);
93
105 bool* result
106);
107
108
109#ifdef __cplusplus
110} /* extern "C" */
111#endif
112
113#endif /* SCANBOTSDK_DOCUMENTSTRAIGHTENER_H */
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