Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKVinScannerTypes.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/VINScannerTypes.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_VINSCANNERTYPES_H
9#define SCANBOTSDK_VINSCANNERTYPES_H
10
11
12#include <ScanbotSDKTypes.h>
13#include <stdbool.h>
14#include <stddef.h>
15#include <stdint.h>
16#include <string.h>
18#include <ScanbotSDKErrorCode.h>
19#include <ScanbotSDKDefs.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
50
60
67
75
85
103
113
114
121
129
139
149
150
157
188 int input_height_limit,
189 bool optimize_single_line,
190 bool extract_vin_from_barcode,
191 int ocr_resolution_limit,
192 int maximum_number_of_accumulated_frames,
193 int minimum_number_of_required_frames_with_equal_scanning_result,
195
206
207
215
240
265
292
321
346
371
372
373#ifdef __cplusplus
374} /* extern "C" */
375#endif
376
377#endif /* SCANBOTSDK_VINSCANNERTYPES_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
The Scanbot SDK C API primitive types.
Represents a point with integer coordinates.
Definition ScanbotSDKTypes.h:21
struct scanbotsdk_text_pattern_scanner_result_t scanbotsdk_text_pattern_scanner_result_t
scanbotsdk_text_pattern_scanner_result_t class
Definition ScanbotSDKTextPatternScannerTypes.h:152
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_input_height_limit(scanbotsdk_vin_scanner_configuration_t *self, int *input_height_limit)
Returns value of input_height_limit field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_extraction_status_t_to_string(scanbotsdk_vin_barcode_extraction_status_t value, const char **result)
Returns the string representation of the given scanbotsdk_vin_barcode_extraction_status_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_get_status(scanbotsdk_vin_barcode_result_t *self, scanbotsdk_vin_barcode_extraction_status_t *status)
Returns value of status field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_extract_vin_from_barcode(scanbotsdk_vin_scanner_configuration_t *self, bool extract_vin_from_barcode)
Sets value of extract_vin_from_barcode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_get_rectangle(scanbotsdk_vin_barcode_result_t *self, scanbotsdk_point_t **rectangle)
Returns value of rectangle field of the given object. The returned value is direct view into memory,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_result_get_text_result(scanbotsdk_vin_scanner_result_t *self, scanbotsdk_text_pattern_scanner_result_t **text_result)
Returns value of text_result field of the given object. The returned pointers do NOT own the underlyi...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_optimize_single_line(scanbotsdk_vin_scanner_configuration_t *self, bool optimize_single_line)
Sets value of optimize_single_line field of the given object.
struct scanbotsdk_vin_barcode_result_t scanbotsdk_vin_barcode_result_t
scanbotsdk_vin_barcode_result_t class
Definition ScanbotSDKVinScannerTypes.h:66
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_extract_vin_from_barcode(scanbotsdk_vin_scanner_configuration_t *self, bool *extract_vin_from_barcode)
Returns value of extract_vin_from_barcode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_input_height_limit(scanbotsdk_vin_scanner_configuration_t *self, int input_height_limit)
Sets value of input_height_limit field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_result_get_barcode_result(scanbotsdk_vin_scanner_result_t *self, scanbotsdk_vin_barcode_result_t **barcode_result)
Returns value of barcode_result field of the given object. The returned pointers do NOT own the under...
struct scanbotsdk_vin_scanner_configuration_t scanbotsdk_vin_scanner_configuration_t
scanbotsdk_vin_scanner_configuration_t class
Definition ScanbotSDKVinScannerTypes.h:156
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_ocr_resolution_limit(scanbotsdk_vin_scanner_configuration_t *self, int *ocr_resolution_limit)
Returns value of ocr_resolution_limit field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_optimize_single_line(scanbotsdk_vin_scanner_configuration_t *self, bool *optimize_single_line)
Returns value of optimize_single_line field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_result_free(scanbotsdk_vin_scanner_result_t *object)
Frees the memory allocated for the instance of scanbotsdk_vin_scanner_result_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_ocr_resolution_limit(scanbotsdk_vin_scanner_configuration_t *self, int ocr_resolution_limit)
Sets value of ocr_resolution_limit field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_get_rectangle_size(scanbotsdk_vin_barcode_result_t *self, size_t *size)
Returns size of rectangle array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_maximum_number_of_accumulated_frames(scanbotsdk_vin_scanner_configuration_t *self, int maximum_number_of_accumulated_frames)
Sets value of maximum_number_of_accumulated_frames field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_set_minimum_number_of_required_frames_with_equal_scanning_result(scanbotsdk_vin_scanner_configuration_t *self, int minimum_number_of_required_frames_with_equal_scanning_result)
Sets value of minimum_number_of_required_frames_with_equal_scanning_result field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_get_extracted_vin(scanbotsdk_vin_barcode_result_t *self, scanbotsdk_u8string_ref_t *extracted_vin)
Returns value of extracted_vin field of the given object. The returned pointers do NOT own the underl...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_maximum_number_of_accumulated_frames(scanbotsdk_vin_scanner_configuration_t *self, int *maximum_number_of_accumulated_frames)
Returns value of maximum_number_of_accumulated_frames field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_free(scanbotsdk_vin_barcode_result_t *object)
Frees the memory allocated for the instance of scanbotsdk_vin_barcode_result_t. If null is passed,...
struct scanbotsdk_vin_scanner_result_t scanbotsdk_vin_scanner_result_t
scanbotsdk_vin_scanner_result_t class
Definition ScanbotSDKVinScannerTypes.h:120
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_create_with_defaults(scanbotsdk_vin_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_vin_scanner_configuration_t with given required params and store...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_get_minimum_number_of_required_frames_with_equal_scanning_result(scanbotsdk_vin_scanner_configuration_t *self, int *minimum_number_of_required_frames_with_equal_scanning_result)
Returns value of minimum_number_of_required_frames_with_equal_scanning_result field of the given obje...
scanbotsdk_vin_barcode_extraction_status_t
scanbotsdk_vin_barcode_extraction_status_t enum
Definition ScanbotSDKVinScannerTypes.h:31
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_create(int input_height_limit, bool optimize_single_line, bool extract_vin_from_barcode, int ocr_resolution_limit, int maximum_number_of_accumulated_frames, int minimum_number_of_required_frames_with_equal_scanning_result, scanbotsdk_vin_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_vin_scanner_configuration with given params and stores it in the...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_scanner_configuration_free(scanbotsdk_vin_scanner_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_vin_scanner_configuration_t....
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_NO_BARCODE_FOUND
Definition ScanbotSDKVinScannerTypes.h:43
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_BARCODE_WITHOUT_VIN
Definition ScanbotSDKVinScannerTypes.h:39
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_SUCCESS
Definition ScanbotSDKVinScannerTypes.h:35
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_BARCODE_EXTRACTION_DISABLED
Definition ScanbotSDKVinScannerTypes.h:47
Represents a non-owning view of a UTF-8 encoded string.
Definition ScanbotSDKTypes.h:112