Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKDocumentScanner.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/DocumentScanner.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_DOCUMENTSCANNER_H
9#define SCANBOTSDK_DOCUMENTSCANNER_H
10
11
12#include <ScanbotSDKImage.h>
14#include <stdbool.h>
15#include <stddef.h>
16#include <stdint.h>
17#include <ScanbotSDKErrorCode.h>
18#include <ScanbotSDKDefs.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24
33
47);
48
57);
58
72 scanbotsdk_image_t* image,
74);
75
89 scanbotsdk_image_t* image,
91);
92
105);
106
107
108#ifdef __cplusplus
109} /* extern "C" */
110#endif
111
112#endif /* SCANBOTSDK_DOCUMENTSCANNER_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.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_scanner_run(scanbotsdk_document_scanner_t *self, scanbotsdk_image_t *image, scanbotsdk_document_detection_result_t **result)
Detect the document contour in the given image.
struct scanbotsdk_document_scanning_result_t scanbotsdk_document_scanning_result_t
scanbotsdk_document_scanning_result_t class
Definition ScanbotSDKDocumentScannerTypes.h:1083
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_scanner_free(scanbotsdk_document_scanner_t *self)
Frees the memory allocated for the instance of scanbotsdk_document_scanner_t. If null is passed,...
struct scanbotsdk_document_scanner_t scanbotsdk_document_scanner_t
scanbotsdk_document_scanner_t class
Definition ScanbotSDKDocumentScanner.h:32
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_scanner_create(scanbotsdk_document_scanner_configuration_t *configuration, scanbotsdk_document_scanner_t **result)
Creates a new instance of scanbotsdk_document_scanner with given params and stores it in the location...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_scanner_clear_result(scanbotsdk_document_scanner_t *self)
Clears the accumulated results. Should be called after a document has been detected to the customers ...
struct scanbotsdk_document_detection_result_t scanbotsdk_document_detection_result_t
scanbotsdk_document_detection_result_t class
Definition ScanbotSDKDocumentScannerTypes.h:882
struct scanbotsdk_document_scanner_configuration_t scanbotsdk_document_scanner_configuration_t
scanbotsdk_document_scanner_configuration_t class
Definition ScanbotSDKDocumentScannerTypes.h:505
SBSDK_API scanbotsdk_error_code_t scanbotsdk_document_scanner_scan(scanbotsdk_document_scanner_t *self, scanbotsdk_image_t *image, scanbotsdk_document_scanning_result_t **result)
Detect the document contour in the given image and crop it.
struct scanbotsdk_image_t scanbotsdk_image_t
Represents an instance of the opaque image.
Definition ScanbotSDKImage.h:31