8#ifndef SCANBOTSDK_VINSCANNERTYPES_H
9#define SCANBOTSDK_VINSCANNERTYPES_H
19#include <ScanbotSDKDefs.h>
176 bool extract_vin_from_barcode,
177 int ocr_resolution_limit,
178 int maximum_number_of_accumulated_frames,
179 int minimum_number_of_required_frames_with_equal_scanning_result,
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
The Scanbot SDK C API primitive types.
Represents a point with integer coordinates.
Definition ScanbotSDKTypes.h:18
struct scanbotsdk_text_pattern_scanner_result_t scanbotsdk_text_pattern_scanner_result_t
scanbotsdk_text_pattern_scanner_result_t class
Definition ScanbotSDKTextPatternScannerTypes.h:150
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...
struct scanbotsdk_vin_barcode_result_t scanbotsdk_vin_barcode_result_t
scanbotsdk_vin_barcode_result_t class
Definition ScanbotSDKVinScannerTypes.h:62
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_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...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_vin_barcode_result_get_extracted_vin(scanbotsdk_vin_barcode_result_t *self, const char **extracted_vin)
Returns value of extracted_vin field of the given object. The returned pointers do NOT own the underl...
struct scanbotsdk_vin_scanner_configuration_t scanbotsdk_vin_scanner_configuration_t
scanbotsdk_vin_scanner_configuration_t class
Definition ScanbotSDKVinScannerTypes.h:152
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_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_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:116
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(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:40
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_BARCODE_WITHOUT_VIN
Definition ScanbotSDKVinScannerTypes.h:37
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_SUCCESS
Definition ScanbotSDKVinScannerTypes.h:34
@ SCANBOTSDK_VIN_BARCODE_EXTRACTION_STATUS_BARCODE_EXTRACTION_DISABLED
Definition ScanbotSDKVinScannerTypes.h:43