8#ifndef SCANBOTSDK_BARCODESCANNERTYPES_H
9#define SCANBOTSDK_BARCODESCANNERTYPES_H
25#include <ScanbotSDKDefs.h>
391 int accumulation_time,
392 bool remove_unconnected_results,
545 size_t barcode_format_configurations_size,
547 size_t extracted_document_formats_size,
548 bool only_accept_documents,
549 bool return_barcode_image,
553 bool optimized_for_overlays,
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.
struct scanbotsdk_barcode_scanner_configuration_t scanbotsdk_barcode_scanner_configuration_t
scanbotsdk_barcode_scanner_configuration_t class
Definition ScanbotSDKBarcodeScannerTypes.h:501
struct scanbotsdk_barcode_accumulation_configuration_t scanbotsdk_barcode_accumulation_configuration_t
scanbotsdk_barcode_accumulation_configuration_t class
Definition ScanbotSDKBarcodeScannerTypes.h:369
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_raw_bytes_encodings(scanbotsdk_barcode_item_t *self, scanbotsdk_range_encoding_t **raw_bytes_encodings, size_t size)
Returns value of raw_bytes_encodings field of the given object. The returned pointers do NOT own the ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_optimized_for_overlays(scanbotsdk_barcode_scanner_configuration_t *self, bool *optimized_for_overlays)
Returns value of optimized_for_overlays field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_engine_mode(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_scanner_engine_mode_t engine_mode)
Sets value of engine_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_engine_mode_t_to_string(scanbotsdk_barcode_scanner_engine_mode_t value, const char **result)
Returns the string representation of the given scanbotsdk_barcode_scanner_engine_mode_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_return_barcode_image(scanbotsdk_barcode_scanner_configuration_t *self, bool *return_barcode_image)
Returns value of return_barcode_image field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_quad_normalized(scanbotsdk_barcode_item_t *self, scanbotsdk_pointf_t **quad_normalized)
Returns value of quad_normalized field of the given object. The returned value is direct view into me...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_global_index(scanbotsdk_barcode_item_t *self, int *global_index)
Returns value of global_index field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_extracted_document_formats(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_document_format_t *extracted_document_formats, size_t extracted_document_formats_size)
Sets value of extracted_document_formats field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_extracted_document_formats_size(scanbotsdk_barcode_scanner_configuration_t *self, size_t *size)
Returns size of extracted_document_formats array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_size_score(scanbotsdk_barcode_item_t *self, double *size_score)
Returns value of size_score field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_extended_quad_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of extended_quad array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_format(scanbotsdk_barcode_item_t *self, scanbotsdk_barcode_format_t *format)
Returns value of format field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_data_bar_stack_size(scanbotsdk_barcode_item_t *self, int *data_bar_stack_size)
Returns value of data_bar_stack_size field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_engine_mode(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_scanner_engine_mode_t *engine_mode)
Returns value of engine_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_accelerator(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_accelerator_t **accelerator)
Returns value of accelerator field of the given object. The returned pointers do NOT own the underlyi...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_return_barcode_image(scanbotsdk_barcode_scanner_configuration_t *self, bool return_barcode_image)
Sets value of return_barcode_image field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_barcode_format_configurations(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_format_configuration_base_t **barcode_format_configurations, size_t size)
Returns value of barcode_format_configurations field of the given object. The returned pointers do NO...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_optimized_for_overlays(scanbotsdk_barcode_scanner_configuration_t *self, bool optimized_for_overlays)
Sets value of optimized_for_overlays field of the given object.
scanbotsdk_barcode_format_t
scanbotsdk_barcode_format_t enum
Definition ScanbotSDKBarcodeTypes.h:279
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_only_accept_documents(scanbotsdk_barcode_scanner_configuration_t *self, bool only_accept_documents)
Sets value of only_accept_documents field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_processing_mode(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_processing_mode_t *processing_mode)
Returns value of processing_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_quad_normalized_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of quad_normalized array.
struct scanbotsdk_range_encoding_t scanbotsdk_range_encoding_t
scanbotsdk_range_encoding_t class
Definition ScanbotSDKBarcodeTypes.h:150
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_result_free(scanbotsdk_barcode_scanner_result_t *object)
Frees the memory allocated for the instance of scanbotsdk_barcode_scanner_result_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_create_with_defaults(scanbotsdk_barcode_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_barcode_scanner_configuration_t with given required params and s...
struct scanbotsdk_barcode_item_t scanbotsdk_barcode_item_t
scanbotsdk_barcode_item_t class
Definition ScanbotSDKBarcodeScannerTypes.h:37
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_is_gs_1_message(scanbotsdk_barcode_item_t *self, bool *is_gs_1_message)
Returns value of is_gs_1_message field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_accelerator(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_accelerator_t *accelerator)
Sets value of accelerator field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_get_accumulation_time(scanbotsdk_barcode_accumulation_configuration_t *self, int *accumulation_time)
Returns value of accumulation_time field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_create_with_defaults(scanbotsdk_barcode_accumulation_configuration_t **result)
Creates a new instance of scanbotsdk_barcode_accumulation_configuration_t with given required params ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_extended_quad(scanbotsdk_barcode_item_t *self, scanbotsdk_point_t **extended_quad)
Returns value of extended_quad field of the given object. The returned value is direct view into memo...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_barcode_format_configurations(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_format_configuration_base_t **barcode_format_configurations, size_t barcode_format_configurations_size)
Sets value of barcode_format_configurations field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_processing_mode(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_processing_mode_t processing_mode)
Sets value of processing_mode field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_create(scanbotsdk_barcode_format_configuration_base_t **barcode_format_configurations, size_t barcode_format_configurations_size, scanbotsdk_barcode_document_format_t *extracted_document_formats, size_t extracted_document_formats_size, bool only_accept_documents, bool return_barcode_image, scanbotsdk_accelerator_t *accelerator, scanbotsdk_barcode_scanner_engine_mode_t engine_mode, scanbotsdk_barcode_accumulation_configuration_t *accumulation_config, bool optimized_for_overlays, scanbotsdk_processing_mode_t processing_mode, scanbotsdk_barcode_scanner_configuration_t **result)
Creates a new instance of scanbotsdk_barcode_scanner_configuration with given params and stores it in...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_raw_bytes_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of raw_bytes array.
struct scanbotsdk_barcode_scanner_result_t scanbotsdk_barcode_scanner_result_t
scanbotsdk_barcode_scanner_result_t class
Definition ScanbotSDKBarcodeScannerTypes.h:827
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_set_remove_unconnected_results(scanbotsdk_barcode_accumulation_configuration_t *self, bool remove_unconnected_results)
Sets value of remove_unconnected_results field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_quad_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of quad array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_quad(scanbotsdk_barcode_item_t *self, scanbotsdk_point_t **quad)
Returns value of quad field of the given object. The returned value is direct view into memory,...
scanbotsdk_barcode_scanner_engine_mode_t
scanbotsdk_barcode_scanner_engine_mode_t enum
Definition ScanbotSDKBarcodeScannerTypes.h:307
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_get_remove_unconnected_results(scanbotsdk_barcode_accumulation_configuration_t *self, bool *remove_unconnected_results)
Returns value of remove_unconnected_results field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_free(scanbotsdk_barcode_item_t *object)
Frees the memory allocated for the instance of scanbotsdk_barcode_item_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_get_method(scanbotsdk_barcode_accumulation_configuration_t *self, scanbotsdk_barcode_accumulation_method_t *method)
Returns value of method field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_raw_bytes_encodings_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of raw_bytes_encodings array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_extracted_document(scanbotsdk_barcode_item_t *self, scanbotsdk_generic_document_t **extracted_document)
Returns value of extracted_document field of the given object. The returned pointers do NOT own the u...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_raw_bytes(scanbotsdk_barcode_item_t *self, uint8_t **raw_bytes)
Returns value of raw_bytes field of the given object. The returned value is direct view into memory,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_set_method(scanbotsdk_barcode_accumulation_configuration_t *self, scanbotsdk_barcode_accumulation_method_t method)
Sets value of method field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_source_image(scanbotsdk_barcode_item_t *self, scanbotsdk_image_t **source_image)
Returns value of source_image field of the given object. The returned pointers do NOT own the underly...
scanbotsdk_barcode_document_format_t
scanbotsdk_barcode_document_format_t enum
Definition ScanbotSDKBarcodeDocumentTypes.h:31
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_accumulation_config(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_accumulation_configuration_t **accumulation_config)
Returns value of accumulation_config field of the given object. The returned pointers do NOT own the ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_create(int accumulation_time, bool remove_unconnected_results, scanbotsdk_barcode_accumulation_method_t method, scanbotsdk_barcode_accumulation_configuration_t **result)
Creates a new instance of scanbotsdk_barcode_accumulation_configuration with given params and stores ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_is_upside_down(scanbotsdk_barcode_item_t *self, bool *is_upside_down)
Returns value of is_upside_down field of the given object.
struct scanbotsdk_barcode_format_configuration_base_t scanbotsdk_barcode_format_configuration_base_t
scanbotsdk_barcode_format_configuration_base_t class
Definition ScanbotSDKBarcodeConfigurationTypes.h:30
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_extracted_document_formats(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_document_format_t **extracted_document_formats)
Returns value of extracted_document_formats field of the given object. The returned value is direct v...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_structured_append_info(scanbotsdk_barcode_item_t *self, scanbotsdk_structured_append_info_t **structured_append_info)
Returns value of structured_append_info field of the given object. The returned pointers do NOT own t...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_extended_quad_normalized(scanbotsdk_barcode_item_t *self, scanbotsdk_pointf_t **extended_quad_normalized)
Returns value of extended_quad_normalized field of the given object. The returned value is direct vie...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_upc_ean_extension(scanbotsdk_barcode_item_t *self, const char **upc_ean_extension)
Returns value of upc_ean_extension field of the given object. The returned pointers do NOT own the un...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_result_get_barcodes_size(scanbotsdk_barcode_scanner_result_t *self, size_t *size)
Returns size of barcodes array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_text(scanbotsdk_barcode_item_t *self, const char **text)
Returns value of text field of the given object. The returned pointers do NOT own the underlying obje...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_method_t_to_string(scanbotsdk_barcode_accumulation_method_t value, const char **result)
Returns the string representation of the given scanbotsdk_barcode_accumulation_method_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_only_accept_documents(scanbotsdk_barcode_scanner_configuration_t *self, bool *only_accept_documents)
Returns value of only_accept_documents field of the given object.
scanbotsdk_barcode_accumulation_method_t
scanbotsdk_barcode_accumulation_method_t enum
Definition ScanbotSDKBarcodeScannerTypes.h:344
struct scanbotsdk_structured_append_info_t scanbotsdk_structured_append_info_t
scanbotsdk_structured_append_info_t class
Definition ScanbotSDKBarcodeTypes.h:214
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_set_accumulation_time(scanbotsdk_barcode_accumulation_configuration_t *self, int accumulation_time)
Sets value of accumulation_time field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_extended_quad_normalized_size(scanbotsdk_barcode_item_t *self, size_t *size)
Returns size of extended_quad_normalized array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_set_accumulation_config(scanbotsdk_barcode_scanner_configuration_t *self, scanbotsdk_barcode_accumulation_configuration_t *accumulation_config)
Sets value of accumulation_config field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_result_get_barcodes(scanbotsdk_barcode_scanner_result_t *self, scanbotsdk_barcode_item_t **barcodes, size_t size)
Returns value of barcodes field of the given object. The returned pointers do NOT own the underlying ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_accumulation_configuration_free(scanbotsdk_barcode_accumulation_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_barcode_accumulation_configuration_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_result_get_success(scanbotsdk_barcode_scanner_result_t *self, bool *success)
Returns value of success field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_get_barcode_format_configurations_size(scanbotsdk_barcode_scanner_configuration_t *self, size_t *size)
Returns size of barcode_format_configurations array.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_scanner_configuration_free(scanbotsdk_barcode_scanner_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_barcode_scanner_configuration_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_barcode_item_get_is_gs_1_composite_part(scanbotsdk_barcode_item_t *self, bool *is_gs_1_composite_part)
Returns value of is_gs_1_composite_part field of the given object.
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_NEXT_GEN_MAX_DISTANCE
Definition ScanbotSDKBarcodeScannerTypes.h:325
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_LEGACY
Definition ScanbotSDKBarcodeScannerTypes.h:310
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_NEXT_GEN_LOW_POWER
Definition ScanbotSDKBarcodeScannerTypes.h:313
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_NEXT_GEN_LOW_POWER_FAR_DISTANCE
Definition ScanbotSDKBarcodeScannerTypes.h:319
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_NEXT_GEN_FAR_DISTANCE
Definition ScanbotSDKBarcodeScannerTypes.h:322
@ SCANBOTSDK_BARCODE_SCANNER_ENGINE_MODE_NEXT_GEN
Definition ScanbotSDKBarcodeScannerTypes.h:316
@ SCANBOTSDK_BARCODE_ACCUMULATION_METHOD_INTERPOLATE_BY_CAMERA
Definition ScanbotSDKBarcodeScannerTypes.h:350
@ SCANBOTSDK_BARCODE_ACCUMULATION_METHOD_LAST_VISIBLE
Definition ScanbotSDKBarcodeScannerTypes.h:347
scanbotsdk_processing_mode_t
scanbotsdk_processing_mode_t enum
Definition ScanbotSDKCommonTypes.h:30
struct scanbotsdk_generic_document_t scanbotsdk_generic_document_t
scanbotsdk_generic_document_t class
Definition ScanbotSDKGenericDocument.h:630
Represents a point with integer coordinates.
Definition ScanbotSDKTypes.h:18
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
struct scanbotsdk_accelerator_t scanbotsdk_accelerator_t
scanbotsdk_accelerator_t class
Definition ScanbotSDKAcceleratorTypes.h:29