|
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_engine_mode_t_to_string (scanbotsdk_document_scanner_engine_mode_t value, const char **result) |
| | Returns the string representation of the given scanbotsdk_document_scanner_engine_mode_t value.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_create (int accepted_angle_score, int accepted_size_score, int accepted_brightness_threshold, int accepted_aspect_ratio_score, scanbotsdk_aspect_ratio_t **aspect_ratios, size_t aspect_ratios_size, bool ignore_orientation_mismatch, scanbotsdk_document_scanner_parameters_t **result) |
| | Creates a new instance of scanbotsdk_document_scanner_parameters with given params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_create_with_defaults (scanbotsdk_document_scanner_parameters_t **result) |
| | Creates a new instance of scanbotsdk_document_scanner_parameters_t with given required params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_free (scanbotsdk_document_scanner_parameters_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_document_scanner_parameters_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_accepted_angle_score (scanbotsdk_document_scanner_parameters_t *self, int *accepted_angle_score) |
| | Returns value of accepted_angle_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_accepted_angle_score (scanbotsdk_document_scanner_parameters_t *self, int accepted_angle_score) |
| | Sets value of accepted_angle_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_accepted_size_score (scanbotsdk_document_scanner_parameters_t *self, int *accepted_size_score) |
| | Returns value of accepted_size_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_accepted_size_score (scanbotsdk_document_scanner_parameters_t *self, int accepted_size_score) |
| | Sets value of accepted_size_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_accepted_brightness_threshold (scanbotsdk_document_scanner_parameters_t *self, int *accepted_brightness_threshold) |
| | Returns value of accepted_brightness_threshold field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_accepted_brightness_threshold (scanbotsdk_document_scanner_parameters_t *self, int accepted_brightness_threshold) |
| | Sets value of accepted_brightness_threshold field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_accepted_aspect_ratio_score (scanbotsdk_document_scanner_parameters_t *self, int *accepted_aspect_ratio_score) |
| | Returns value of accepted_aspect_ratio_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_accepted_aspect_ratio_score (scanbotsdk_document_scanner_parameters_t *self, int accepted_aspect_ratio_score) |
| | Sets value of accepted_aspect_ratio_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_aspect_ratios (scanbotsdk_document_scanner_parameters_t *self, scanbotsdk_aspect_ratio_t **aspect_ratios, size_t size) |
| | Returns value of aspect_ratios field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_aspect_ratios_size (scanbotsdk_document_scanner_parameters_t *self, size_t *size) |
| | Returns size of aspect_ratios array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_aspect_ratios (scanbotsdk_document_scanner_parameters_t *self, scanbotsdk_aspect_ratio_t **aspect_ratios, size_t aspect_ratios_size) |
| | Sets value of aspect_ratios field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_get_ignore_orientation_mismatch (scanbotsdk_document_scanner_parameters_t *self, bool *ignore_orientation_mismatch) |
| | Returns value of ignore_orientation_mismatch field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_parameters_set_ignore_orientation_mismatch (scanbotsdk_document_scanner_parameters_t *self, bool ignore_orientation_mismatch) |
| | Sets value of ignore_orientation_mismatch field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_create (bool allow_partially_visible_documents, int accumulation_duration, int retention_time, int minimum_brightness, scanbotsdk_partially_visible_document_configuration_t **result) |
| | Creates a new instance of scanbotsdk_partially_visible_document_configuration with given params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_create_with_defaults (scanbotsdk_partially_visible_document_configuration_t **result) |
| | Creates a new instance of scanbotsdk_partially_visible_document_configuration_t with given required params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_free (scanbotsdk_partially_visible_document_configuration_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_partially_visible_document_configuration_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_get_allow_partially_visible_documents (scanbotsdk_partially_visible_document_configuration_t *self, bool *allow_partially_visible_documents) |
| | Returns value of allow_partially_visible_documents field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_set_allow_partially_visible_documents (scanbotsdk_partially_visible_document_configuration_t *self, bool allow_partially_visible_documents) |
| | Sets value of allow_partially_visible_documents field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_get_accumulation_duration (scanbotsdk_partially_visible_document_configuration_t *self, int *accumulation_duration) |
| | Returns value of accumulation_duration field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_set_accumulation_duration (scanbotsdk_partially_visible_document_configuration_t *self, int accumulation_duration) |
| | Sets value of accumulation_duration field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_get_retention_time (scanbotsdk_partially_visible_document_configuration_t *self, int *retention_time) |
| | Returns value of retention_time field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_set_retention_time (scanbotsdk_partially_visible_document_configuration_t *self, int retention_time) |
| | Sets value of retention_time field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_get_minimum_brightness (scanbotsdk_partially_visible_document_configuration_t *self, int *minimum_brightness) |
| | Returns value of minimum_brightness field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_partially_visible_document_configuration_set_minimum_brightness (scanbotsdk_partially_visible_document_configuration_t *self, int minimum_brightness) |
| | Sets value of minimum_brightness field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_create (scanbotsdk_document_scanner_engine_mode_t engine_mode, scanbotsdk_processing_mode_t processing_mode, scanbotsdk_document_scanner_parameters_t *parameters, scanbotsdk_partially_visible_document_configuration_t *partially_visible_document_configuration, scanbotsdk_document_scanner_configuration_t **result) |
| | Creates a new instance of scanbotsdk_document_scanner_configuration with given params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_create_with_defaults (scanbotsdk_document_scanner_configuration_t **result) |
| | Creates a new instance of scanbotsdk_document_scanner_configuration_t with given required params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_free (scanbotsdk_document_scanner_configuration_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_document_scanner_configuration_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_get_engine_mode (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_document_scanner_engine_mode_t *engine_mode) |
| | Returns value of engine_mode field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_set_engine_mode (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_document_scanner_engine_mode_t engine_mode) |
| | Sets value of engine_mode field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_get_processing_mode (scanbotsdk_document_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_document_scanner_configuration_set_processing_mode (scanbotsdk_document_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_document_scanner_configuration_get_parameters (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_document_scanner_parameters_t **parameters) |
| | Returns value of parameters field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_set_parameters (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_document_scanner_parameters_t *parameters) |
| | Sets value of parameters field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_get_partially_visible_document_configuration (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_partially_visible_document_configuration_t **partially_visible_document_configuration) |
| | Returns value of partially_visible_document_configuration field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanner_configuration_set_partially_visible_document_configuration (scanbotsdk_document_scanner_configuration_t *self, scanbotsdk_partially_visible_document_configuration_t *partially_visible_document_configuration) |
| | Sets value of partially_visible_document_configuration field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_displacement_t_to_string (scanbotsdk_document_displacement_t value, const char **result) |
| | Returns the string representation of the given scanbotsdk_document_displacement_t value.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_status_t_to_string (scanbotsdk_document_detection_status_t value, const char **result) |
| | Returns the string representation of the given scanbotsdk_document_detection_status_t value.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_create (double total_score, double distance_score, double angle_score, double size_score, double aspect_ratio_score, double line_coverage_score, double width_score, double height_score, scanbotsdk_document_detection_scores_t **result) |
| | Creates a new instance of scanbotsdk_document_detection_scores with given params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_free (scanbotsdk_document_detection_scores_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_document_detection_scores_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_total_score (scanbotsdk_document_detection_scores_t *self, double *total_score) |
| | Returns value of total_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_distance_score (scanbotsdk_document_detection_scores_t *self, double *distance_score) |
| | Returns value of distance_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_angle_score (scanbotsdk_document_detection_scores_t *self, double *angle_score) |
| | Returns value of angle_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_size_score (scanbotsdk_document_detection_scores_t *self, double *size_score) |
| | Returns value of size_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_aspect_ratio_score (scanbotsdk_document_detection_scores_t *self, double *aspect_ratio_score) |
| | Returns value of aspect_ratio_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_line_coverage_score (scanbotsdk_document_detection_scores_t *self, double *line_coverage_score) |
| | Returns value of line_coverage_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_width_score (scanbotsdk_document_detection_scores_t *self, double *width_score) |
| | Returns value of width_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_scores_get_height_score (scanbotsdk_document_detection_scores_t *self, double *height_score) |
| | Returns value of height_score field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_free (scanbotsdk_document_detection_result_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_document_detection_result_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_status (scanbotsdk_document_detection_result_t *self, scanbotsdk_document_detection_status_t *status) |
| | Returns value of status field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_detection_scores (scanbotsdk_document_detection_result_t *self, scanbotsdk_document_detection_scores_t **detection_scores) |
| | Returns value of detection_scores field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_points (scanbotsdk_document_detection_result_t *self, scanbotsdk_point_t **points) |
| | Returns value of points field of the given object. The returned value is direct view into memory, no pre-allocations needed.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_points_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of points array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_horizontal_lines (scanbotsdk_document_detection_result_t *self, scanbotsdk_line_segment_int_t **horizontal_lines, size_t size) |
| | Returns value of horizontal_lines field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_horizontal_lines_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of horizontal_lines array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_vertical_lines (scanbotsdk_document_detection_result_t *self, scanbotsdk_line_segment_int_t **vertical_lines, size_t size) |
| | Returns value of vertical_lines field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_vertical_lines_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of vertical_lines array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_points_normalized (scanbotsdk_document_detection_result_t *self, scanbotsdk_pointf_t **points_normalized) |
| | Returns value of points_normalized field of the given object. The returned value is direct view into memory, no pre-allocations needed.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_points_normalized_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of points_normalized array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_horizontal_lines_normalized (scanbotsdk_document_detection_result_t *self, scanbotsdk_line_segment_float_t **horizontal_lines_normalized, size_t size) |
| | Returns value of horizontal_lines_normalized field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_horizontal_lines_normalized_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of horizontal_lines_normalized array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_vertical_lines_normalized (scanbotsdk_document_detection_result_t *self, scanbotsdk_line_segment_float_t **vertical_lines_normalized, size_t size) |
| | Returns value of vertical_lines_normalized field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_vertical_lines_normalized_size (scanbotsdk_document_detection_result_t *self, size_t *size) |
| | Returns size of vertical_lines_normalized array.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_aspect_ratio (scanbotsdk_document_detection_result_t *self, double *aspect_ratio) |
| | Returns value of aspect_ratio field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_average_brightness (scanbotsdk_document_detection_result_t *self, int *average_brightness) |
| | Returns value of average_brightness field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_displacement (scanbotsdk_document_detection_result_t *self, scanbotsdk_document_displacement_t *displacement) |
| | Returns value of displacement field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_detection_result_get_displacement_vector (scanbotsdk_document_detection_result_t *self, scanbotsdk_pointf_t *displacement_vector) |
| | Returns value of displacement_vector field of the given object.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanning_result_free (scanbotsdk_document_scanning_result_t *object) |
| | Frees the memory allocated for the instance of scanbotsdk_document_scanning_result_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanning_result_get_detection_result (scanbotsdk_document_scanning_result_t *self, scanbotsdk_document_detection_result_t **detection_result) |
| | Returns value of detection_result field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_scanning_result_get_cropped_image (scanbotsdk_document_scanning_result_t *self, scanbotsdk_image_t **cropped_image) |
| | Returns value of cropped_image field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
|
| |