Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKDocumentEnhancer.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/DocumentEnhancer.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_DOCUMENTENHANCER_H
9#define SCANBOTSDK_DOCUMENTENHANCER_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
35
46);
47
56);
57
82 scanbotsdk_image_t* image,
84 scanbotsdk_pointf_t* prior_corners_normalized,
85 size_t prior_corners_normalized_size,
87);
88
100 bool* result
101);
102
103
104#ifdef __cplusplus
105} /* extern "C" */
106#endif
107
108#endif /* SCANBOTSDK_DOCUMENTENHANCER_H */
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