Scanbot SDK
Loading...
Searching...
No Matches
Scanbot C SDK Medical certificate

Typedefs

typedef struct scanbotsdk_medical_certificate_scanner_t scanbotsdk_medical_certificate_scanner_t
 scanbotsdk_medical_certificate_scanner_t class
 
typedef struct scanbotsdk_medical_certificate_scanning_parameters_t scanbotsdk_medical_certificate_scanning_parameters_t
 scanbotsdk_medical_certificate_scanning_parameters_t class
 
typedef enum scanbotsdk_medical_certificate_check_box_type_t scanbotsdk_medical_certificate_check_box_type_t
 scanbotsdk_medical_certificate_check_box_type_t enum
 
typedef struct scanbotsdk_medical_certificate_check_box_t scanbotsdk_medical_certificate_check_box_t
 scanbotsdk_medical_certificate_check_box_t class
 
typedef enum scanbotsdk_medical_certificate_date_record_type_t scanbotsdk_medical_certificate_date_record_type_t
 scanbotsdk_medical_certificate_date_record_type_t enum
 
typedef struct scanbotsdk_medical_certificate_date_record_t scanbotsdk_medical_certificate_date_record_t
 scanbotsdk_medical_certificate_date_record_t class
 
typedef enum scanbotsdk_medical_certificate_patient_info_field_type_t scanbotsdk_medical_certificate_patient_info_field_type_t
 scanbotsdk_medical_certificate_patient_info_field_type_t enum
 
typedef struct scanbotsdk_medical_certificate_patient_info_field_t scanbotsdk_medical_certificate_patient_info_field_t
 scanbotsdk_medical_certificate_patient_info_field_t class
 
typedef struct scanbotsdk_medical_certificate_patient_info_box_t scanbotsdk_medical_certificate_patient_info_box_t
 scanbotsdk_medical_certificate_patient_info_box_t class
 
typedef enum scanbotsdk_medical_certificate_form_type_t scanbotsdk_medical_certificate_form_type_t
 scanbotsdk_medical_certificate_form_type_t enum
 
typedef struct scanbotsdk_medical_certificate_scanning_result_t scanbotsdk_medical_certificate_scanning_result_t
 scanbotsdk_medical_certificate_scanning_result_t class
 

Enumerations

enum  scanbotsdk_medical_certificate_check_box_type_t {
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_UNKNOWN = 0 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_WORK_ACCIDENT = 1 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ASSIGNED_TO_ACCIDENT_INSURANCE_DOCTOR = 2 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_INITIAL_CERTIFICATE = 3 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_RENEWED_CERTIFICATE = 4 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_INSURED_PAY_CASE = 5 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_FINAL_CERTIFICATE = 6 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_REQUIRES_CARE_YES = 7 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_REQUIRES_CARE_NO = 8 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ACCIDENT_YES = 9 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ACCIDENT_NO = 10 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_OTHER_ACCIDENT = 11 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ENTITLEMENT_TO_CONTINUED_PAYMENT_YES = 12 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ENTITLEMENT_TO_CONTINUED_PAYMENT_NO = 13 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SICK_PAY_WAS_CLAIMED_NO = 14 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SICK_PAY_WAS_CLAIMED_YES = 15 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SINGLE_PARENT_NO = 16 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SINGLE_PARENT_YES = 17
}
 scanbotsdk_medical_certificate_check_box_type_t enum More...
 
enum  scanbotsdk_medical_certificate_date_record_type_t {
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_INCAPABLE_OF_WORK_SINCE = 0 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_INCAPABLE_OF_WORK_UNTIL = 1 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_DIAGNOSED_ON = 2 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_DOCUMENT_DATE = 3 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_BIRTH_DATE = 4 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_CHILD_NEEDS_CARE_FROM = 5 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_CHILD_NEEDS_CARE_UNTIL = 6 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_UNDEFINED = 7
}
 scanbotsdk_medical_certificate_date_record_type_t enum More...
 
enum  scanbotsdk_medical_certificate_patient_info_field_type_t {
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_INSURANCE_PROVIDER = 0 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_FIRST_NAME = 1 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_LAST_NAME = 2 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_ADDRESS_STRING1 = 3 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_ADDRESS_STRING2 = 4 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_DIAGNOSE = 5 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_HEALTH_INSURANCE_NUMBER = 6 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_INSURED_PERSON_NUMBER = 7 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_STATUS = 8 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_PLACE_OF_OPERATION_NUMBER = 9 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_DOCTOR_NUMBER = 10 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_UNDEFINED = 11
}
 scanbotsdk_medical_certificate_patient_info_field_type_t enum More...
 
enum  scanbotsdk_medical_certificate_form_type_t {
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_UNKNOWN = 0 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1A = 1 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1B = 2 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1C = 3 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1D = 4 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_21A = 5 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_21A_BACK = 6 ,
  SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1B_CUSTOM = 7
}
 scanbotsdk_medical_certificate_form_type_t enum More...
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanner_create (scanbotsdk_medical_certificate_scanner_t **result)
 Creates a new instance of scanbotsdk_medical_certificate_scanner with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanner_free (scanbotsdk_medical_certificate_scanner_t *self)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanner_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanner_run (scanbotsdk_medical_certificate_scanner_t *self, scanbotsdk_image_t *image, scanbotsdk_medical_certificate_scanning_parameters_t *parameters, scanbotsdk_medical_certificate_scanning_result_t **result)
 Recognize the document in the given image.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_create (bool should_crop_document, bool recognize_patient_info_box, bool recognize_barcode, bool extract_cropped_image, bool preprocess_input, scanbotsdk_medical_certificate_scanning_parameters_t **result)
 Creates a new instance of scanbotsdk_medical_certificate_scanning_parameters with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_create_with_defaults (scanbotsdk_medical_certificate_scanning_parameters_t **result)
 Creates a new instance of scanbotsdk_medical_certificate_scanning_parameters_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_free (scanbotsdk_medical_certificate_scanning_parameters_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanning_parameters_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_should_crop_document (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool *should_crop_document)
 Returns value of should_crop_document field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_should_crop_document (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool should_crop_document)
 Sets value of should_crop_document field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_recognize_patient_info_box (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool *recognize_patient_info_box)
 Returns value of recognize_patient_info_box field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_recognize_patient_info_box (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool recognize_patient_info_box)
 Sets value of recognize_patient_info_box field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_recognize_barcode (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool *recognize_barcode)
 Returns value of recognize_barcode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_recognize_barcode (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool recognize_barcode)
 Sets value of recognize_barcode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_extract_cropped_image (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool *extract_cropped_image)
 Returns value of extract_cropped_image field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_extract_cropped_image (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool extract_cropped_image)
 Sets value of extract_cropped_image field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_preprocess_input (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool *preprocess_input)
 Returns value of preprocess_input field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_preprocess_input (scanbotsdk_medical_certificate_scanning_parameters_t *self, bool preprocess_input)
 Sets value of preprocess_input field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_type_t_to_string (scanbotsdk_medical_certificate_check_box_type_t value, const char **result)
 Returns the string representation of the given scanbotsdk_medical_certificate_check_box_type_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_free (scanbotsdk_medical_certificate_check_box_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_check_box_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_type (scanbotsdk_medical_certificate_check_box_t *self, scanbotsdk_medical_certificate_check_box_type_t *type)
 Returns value of type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_checked (scanbotsdk_medical_certificate_check_box_t *self, bool *checked)
 Returns value of checked field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_checked_confidence (scanbotsdk_medical_certificate_check_box_t *self, double *checked_confidence)
 Returns value of checked_confidence field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_quad (scanbotsdk_medical_certificate_check_box_t *self, scanbotsdk_pointf_t **quad)
 Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_quad_size (scanbotsdk_medical_certificate_check_box_t *self, size_t *size)
 Returns size of quad array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_type_t_to_string (scanbotsdk_medical_certificate_date_record_type_t value, const char **result)
 Returns the string representation of the given scanbotsdk_medical_certificate_date_record_type_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_free (scanbotsdk_medical_certificate_date_record_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_date_record_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_quad (scanbotsdk_medical_certificate_date_record_t *self, scanbotsdk_pointf_t **quad)
 Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_quad_size (scanbotsdk_medical_certificate_date_record_t *self, size_t *size)
 Returns size of quad array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_value (scanbotsdk_medical_certificate_date_record_t *self, const char **value)
 Returns value of value 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_medical_certificate_date_record_get_raw_string (scanbotsdk_medical_certificate_date_record_t *self, const char **raw_string)
 Returns value of raw_string 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_medical_certificate_date_record_get_type (scanbotsdk_medical_certificate_date_record_t *self, scanbotsdk_medical_certificate_date_record_type_t *type)
 Returns value of type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_recognition_confidence (scanbotsdk_medical_certificate_date_record_t *self, double *recognition_confidence)
 Returns value of recognition_confidence field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_type_t_to_string (scanbotsdk_medical_certificate_patient_info_field_type_t value, const char **result)
 Returns the string representation of the given scanbotsdk_medical_certificate_patient_info_field_type_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_free (scanbotsdk_medical_certificate_patient_info_field_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_patient_info_field_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_get_type (scanbotsdk_medical_certificate_patient_info_field_t *self, scanbotsdk_medical_certificate_patient_info_field_type_t *type)
 Returns value of type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_get_value (scanbotsdk_medical_certificate_patient_info_field_t *self, const char **value)
 Returns value of value 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_medical_certificate_patient_info_field_get_recognition_confidence (scanbotsdk_medical_certificate_patient_info_field_t *self, double *recognition_confidence)
 Returns value of recognition_confidence field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_free (scanbotsdk_medical_certificate_patient_info_box_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_patient_info_box_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_quad (scanbotsdk_medical_certificate_patient_info_box_t *self, scanbotsdk_pointf_t **quad)
 Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_quad_size (scanbotsdk_medical_certificate_patient_info_box_t *self, size_t *size)
 Returns size of quad array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_fields (scanbotsdk_medical_certificate_patient_info_box_t *self, scanbotsdk_medical_certificate_patient_info_field_t **fields, size_t size)
 Returns value of fields 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_medical_certificate_patient_info_box_get_fields_size (scanbotsdk_medical_certificate_patient_info_box_t *self, size_t *size)
 Returns size of fields array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_has_contents (scanbotsdk_medical_certificate_patient_info_box_t *self, bool *has_contents)
 Returns value of has_contents field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_form_type_t_to_string (scanbotsdk_medical_certificate_form_type_t value, const char **result)
 Returns the string representation of the given scanbotsdk_medical_certificate_form_type_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_free (scanbotsdk_medical_certificate_scanning_result_t *object)
 Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanning_result_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scanning_successful (scanbotsdk_medical_certificate_scanning_result_t *self, bool *scanning_successful)
 Returns value of scanning_successful field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_patient_info_box (scanbotsdk_medical_certificate_scanning_result_t *self, scanbotsdk_medical_certificate_patient_info_box_t **patient_info_box)
 Returns value of patient_info_box 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_medical_certificate_scanning_result_get_check_boxes (scanbotsdk_medical_certificate_scanning_result_t *self, scanbotsdk_medical_certificate_check_box_t **check_boxes, size_t size)
 Returns value of check_boxes 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_medical_certificate_scanning_result_get_check_boxes_size (scanbotsdk_medical_certificate_scanning_result_t *self, size_t *size)
 Returns size of check_boxes array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_dates (scanbotsdk_medical_certificate_scanning_result_t *self, scanbotsdk_medical_certificate_date_record_t **dates, size_t size)
 Returns value of dates 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_medical_certificate_scanning_result_get_dates_size (scanbotsdk_medical_certificate_scanning_result_t *self, size_t *size)
 Returns size of dates array.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_form_type (scanbotsdk_medical_certificate_scanning_result_t *self, scanbotsdk_medical_certificate_form_type_t *form_type)
 Returns value of form_type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_clockwise_rotations (scanbotsdk_medical_certificate_scanning_result_t *self, int *clockwise_rotations)
 Returns value of clockwise_rotations field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_cropped_image (scanbotsdk_medical_certificate_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.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scale_x (scanbotsdk_medical_certificate_scanning_result_t *self, double *scale_x)
 Returns value of scale_x field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scale_y (scanbotsdk_medical_certificate_scanning_result_t *self, double *scale_y)
 Returns value of scale_y field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_document_detection_result (scanbotsdk_medical_certificate_scanning_result_t *self, scanbotsdk_document_detection_result_t **document_detection_result)
 Returns value of document_detection_result field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
 

Detailed Description

Typedef Documentation

◆ scanbotsdk_medical_certificate_check_box_t

◆ scanbotsdk_medical_certificate_check_box_type_t

◆ scanbotsdk_medical_certificate_date_record_t

◆ scanbotsdk_medical_certificate_date_record_type_t

◆ scanbotsdk_medical_certificate_form_type_t

◆ scanbotsdk_medical_certificate_patient_info_box_t

◆ scanbotsdk_medical_certificate_patient_info_field_t

◆ scanbotsdk_medical_certificate_patient_info_field_type_t

◆ scanbotsdk_medical_certificate_scanner_t

scanbotsdk_medical_certificate_scanner_t class

API for medical certificate scanning.

Required licence feature(s): MedicalCertificateScanner.

◆ scanbotsdk_medical_certificate_scanning_parameters_t

scanbotsdk_medical_certificate_scanning_parameters_t class

Parameters for the medical certificate scanning. The scanner supports Form 1 (Arbeitsunfähigkeitsbescheinigung) and Form 21a (Ärztliche Bescheinigung für den Bezug von Krankengeld bei Erkrankung eines Kindes) from the KBV (Kassenärztliche Bundesvereinigung) list of forms.

◆ scanbotsdk_medical_certificate_scanning_result_t

Enumeration Type Documentation

◆ scanbotsdk_medical_certificate_check_box_type_t

scanbotsdk_medical_certificate_check_box_type_t enum

Type of the checkbox.

Enumerator
SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_UNKNOWN 

Unknown checkbox type.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_WORK_ACCIDENT 

(Form 1) Work accident (Arbeitsunfall, Arbeitsunfall-folgen, Berufskrankheit) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ASSIGNED_TO_ACCIDENT_INSURANCE_DOCTOR 

(Form 1) Assigned to accident insurance doctor (dem Durchgangsarzt zugewiesen) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_INITIAL_CERTIFICATE 

(Form 1) Initial certificate (Erstbescheinigung) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_RENEWED_CERTIFICATE 

(Form 1) Renewed certificate (Folgebescheinigung) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_INSURED_PAY_CASE 

(Form 1) Insured pay case (ab 7. AU-Woche oder sonstiger Krankengeldfall) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_FINAL_CERTIFICATE 

(Form 1) Final certificate (Endbescheinigung) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_REQUIRES_CARE_YES 

(Form 21a) Requires care yes (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... ja) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_REQUIRES_CARE_NO 

(Form 21a) Requires care no (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... nein) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ACCIDENT_YES 

(Form 21a) Accident yes (Unfall... ja) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ACCIDENT_NO 

(Form 21a) Accident no (Unfall... nein) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_OTHER_ACCIDENT 

(Form 1) Other accident (Sonstiger Unfall, Unfallfolgen) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ENTITLEMENT_TO_CONTINUED_PAYMENT_YES 

(Form 21a) Entitlement to continued payment yes (Anspruch auf Entgeltfortzahlung) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_ENTITLEMENT_TO_CONTINUED_PAYMENT_NO 

(Form 21a) Entitlement to continued payment no (keinen Anspruch auf Entgeltfortzahlung) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SICK_PAY_WAS_CLAIMED_NO 

(Form 21a) Sick pay was claimed no (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr NICHT bezogen) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SICK_PAY_WAS_CLAIMED_YES 

(Form 21a) Sick pay was claimed yes (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr bezogen) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SINGLE_PARENT_NO 

(Form 21a) Single parent no (Ich bin Alleinerziehende(r)... nein) checkbox.

SCANBOTSDK_MEDICAL_CERTIFICATE_CHECK_BOX_TYPE_SINGLE_PARENT_YES 

(Form 21a) Single parent yes (Ich bin Alleinerziehende(r)... ja) checkbox.

◆ scanbotsdk_medical_certificate_date_record_type_t

scanbotsdk_medical_certificate_date_record_type_t enum

Type of a date record.

Enumerator
SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_INCAPABLE_OF_WORK_SINCE 

(Form 1) Incapable of work since (arbeitsunfähig seit) date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_INCAPABLE_OF_WORK_UNTIL 

(Form 1) Incapable of work until (voraussichtlich arbeitsunfähig bis einschließlich oder letzter Tag der Arbeitsunfähigkeit) date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_DIAGNOSED_ON 

(Form 1) Diagnosed on (festgestellt am) date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_DOCUMENT_DATE 

Document date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_BIRTH_DATE 

Birthdate (geb. am).

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_CHILD_NEEDS_CARE_FROM 

(Form 21a) Child needs care from (Das genannte Kind bedarf/bedurfte vom) date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_CHILD_NEEDS_CARE_UNTIL 

(Form 21a) Child needs care until (Das genannte Kind bedarf/bedurfte bis einschließlich) date.

SCANBOTSDK_MEDICAL_CERTIFICATE_DATE_RECORD_TYPE_UNDEFINED 

Undefined date type.

◆ scanbotsdk_medical_certificate_form_type_t

scanbotsdk_medical_certificate_form_type_t enum

Type of the medical certificate form.

Enumerator
SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_UNKNOWN 

Unknown form type.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1A 

Form 1A.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1B 

Form 1B.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1C 

Form 1C.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1D 

Form 1D.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_21A 

Form 21A.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_21A_BACK 

Form 21A back.

SCANBOTSDK_MEDICAL_CERTIFICATE_FORM_TYPE_FORM_1B_CUSTOM 

Form 1B custom.

◆ scanbotsdk_medical_certificate_patient_info_field_type_t

scanbotsdk_medical_certificate_patient_info_field_type_t enum

Type of a field in the patient info box.

Enumerator
SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_INSURANCE_PROVIDER 

Insurance provider (Krankenkasse bzw. Kostenträger).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_FIRST_NAME 

First name (Vorname des Versicherten).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_LAST_NAME 

Last name (Name des Versicherten).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_ADDRESS_STRING1 

First line of address.

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_ADDRESS_STRING2 

Second line of address.

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_DIAGNOSE 

Diagnose.

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_HEALTH_INSURANCE_NUMBER 

Number of the health insurance provider (Kostenträgerkennung).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_INSURED_PERSON_NUMBER 

Personal number of the insured person (Versicherten-Nr.).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_STATUS 

Status.

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_PLACE_OF_OPERATION_NUMBER 

Number of the place of operation (Betriebsstätten-Nr.).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_DOCTOR_NUMBER 

Number of the doctor (Arzt-Nr.).

SCANBOTSDK_MEDICAL_CERTIFICATE_PATIENT_INFO_FIELD_TYPE_UNDEFINED 

Undefined.

Function Documentation

◆ scanbotsdk_medical_certificate_check_box_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_free ( scanbotsdk_medical_certificate_check_box_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_check_box_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_check_box_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_check_box_get_checked()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_checked ( scanbotsdk_medical_certificate_check_box_t * self,
bool * checked )

Returns value of checked field of the given object.

True if the box is checked.

Default is false

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_check_box_t
checkedPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_check_box_get_checked_confidence()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_checked_confidence ( scanbotsdk_medical_certificate_check_box_t * self,
double * checked_confidence )

Returns value of checked_confidence field of the given object.

Confidence of the checked/unchecked prediction.

Default is 0.0

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_check_box_t
checked_confidencePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_check_box_get_quad()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_quad ( scanbotsdk_medical_certificate_check_box_t * self,
scanbotsdk_pointf_t ** quad )

Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.

Points of the box.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_check_box_t
quadPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_check_box_get_quad_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_quad_size ( scanbotsdk_medical_certificate_check_box_t * self,
size_t * size )

Returns size of quad array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_check_box_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_check_box_get_type()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_get_type ( scanbotsdk_medical_certificate_check_box_t * self,
scanbotsdk_medical_certificate_check_box_type_t * type )

Returns value of type field of the given object.

Box type.

Default is UNKNOWN

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_check_box_t
typePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_check_box_type_t_to_string()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_check_box_type_t_to_string ( scanbotsdk_medical_certificate_check_box_type_t value,
const char ** result )

Returns the string representation of the given scanbotsdk_medical_certificate_check_box_type_t value.

The returned string doesn't need to be freed.

Parameters
valueThe value to be converted to string.
resultPointer to a variable that will store the string representation of the value.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_free ( scanbotsdk_medical_certificate_date_record_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_date_record_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_date_record_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_date_record_get_quad()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_quad ( scanbotsdk_medical_certificate_date_record_t * self,
scanbotsdk_pointf_t ** quad )

Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.

Date box.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
quadPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_get_quad_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_quad_size ( scanbotsdk_medical_certificate_date_record_t * self,
size_t * size )

Returns size of quad array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_get_raw_string()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_raw_string ( scanbotsdk_medical_certificate_date_record_t * self,
const char ** raw_string )

Returns value of raw_string field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Raw date string.

Default is ""

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
raw_stringPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_get_recognition_confidence()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_recognition_confidence ( scanbotsdk_medical_certificate_date_record_t * self,
double * recognition_confidence )

Returns value of recognition_confidence field of the given object.

Confidence in the recognized value.

Default is 0.0

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
recognition_confidencePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_get_type()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_type ( scanbotsdk_medical_certificate_date_record_t * self,
scanbotsdk_medical_certificate_date_record_type_t * type )

Returns value of type field of the given object.

Date type.

Default is UNDEFINED

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
typePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_get_value()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_get_value ( scanbotsdk_medical_certificate_date_record_t * self,
const char ** value )

Returns value of value field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Validated date string.

Default is ""

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_date_record_t
valuePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_date_record_type_t_to_string()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_date_record_type_t_to_string ( scanbotsdk_medical_certificate_date_record_type_t value,
const char ** result )

Returns the string representation of the given scanbotsdk_medical_certificate_date_record_type_t value.

The returned string doesn't need to be freed.

Parameters
valueThe value to be converted to string.
resultPointer to a variable that will store the string representation of the value.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_form_type_t_to_string()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_form_type_t_to_string ( scanbotsdk_medical_certificate_form_type_t value,
const char ** result )

Returns the string representation of the given scanbotsdk_medical_certificate_form_type_t value.

The returned string doesn't need to be freed.

Parameters
valueThe value to be converted to string.
resultPointer to a variable that will store the string representation of the value.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_box_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_free ( scanbotsdk_medical_certificate_patient_info_box_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_patient_info_box_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_patient_info_box_get_fields()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_fields ( scanbotsdk_medical_certificate_patient_info_box_t * self,
scanbotsdk_medical_certificate_patient_info_field_t ** fields,
size_t size )

Returns value of fields field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Vector of found fields.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t
sizeSize of the pre-allocated array. Must be equal to the size obtained by calling the corresponding _size function.
fieldsPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_box_get_fields_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_fields_size ( scanbotsdk_medical_certificate_patient_info_box_t * self,
size_t * size )

Returns size of fields array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_box_get_has_contents()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_has_contents ( scanbotsdk_medical_certificate_patient_info_box_t * self,
bool * has_contents )

Returns value of has_contents field of the given object.

Whether the patient info box has contents.

Default is false

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t
has_contentsPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_box_get_quad()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_quad ( scanbotsdk_medical_certificate_patient_info_box_t * self,
scanbotsdk_pointf_t ** quad )

Returns value of quad field of the given object. The returned value is direct view into memory, no pre-allocations needed.

Four corners of the patient info box.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t
quadPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_box_get_quad_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_box_get_quad_size ( scanbotsdk_medical_certificate_patient_info_box_t * self,
size_t * size )

Returns size of quad array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_box_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_field_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_free ( scanbotsdk_medical_certificate_patient_info_field_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_patient_info_field_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_patient_info_field_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_patient_info_field_get_recognition_confidence()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_get_recognition_confidence ( scanbotsdk_medical_certificate_patient_info_field_t * self,
double * recognition_confidence )

Returns value of recognition_confidence field of the given object.

Confidence in the recognized value.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_field_t
recognition_confidencePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_field_get_type()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_get_type ( scanbotsdk_medical_certificate_patient_info_field_t * self,
scanbotsdk_medical_certificate_patient_info_field_type_t * type )

Returns value of type field of the given object.

Field type.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_field_t
typePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_field_get_value()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_get_value ( scanbotsdk_medical_certificate_patient_info_field_t * self,
const char ** value )

Returns value of value field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Field value.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_patient_info_field_t
valuePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_patient_info_field_type_t_to_string()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_patient_info_field_type_t_to_string ( scanbotsdk_medical_certificate_patient_info_field_type_t value,
const char ** result )

Returns the string representation of the given scanbotsdk_medical_certificate_patient_info_field_type_t value.

The returned string doesn't need to be freed.

Parameters
valueThe value to be converted to string.
resultPointer to a variable that will store the string representation of the value.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanner_create()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanner_create ( scanbotsdk_medical_certificate_scanner_t ** result)

Creates a new instance of scanbotsdk_medical_certificate_scanner with given params and stores it in the location specified by the last argument.

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
resultPointer to a variable that will store the created instance of scanbotsdk_medical_certificate_scanner_t
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanner_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanner_free ( scanbotsdk_medical_certificate_scanner_t * self)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanner_t. If null is passed, the function does nothing.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanner_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanner_run()

Recognize the document in the given image.

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanner_t method to be called on
imageThe image to recognize. The value must not be null.
parametersThe recognition parameters. The value must not be null.
resultPointer to a variable that will store the created instance of scanbotsdk_medical_certificate_scanner_t
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_create()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_create ( bool should_crop_document,
bool recognize_patient_info_box,
bool recognize_barcode,
bool extract_cropped_image,
bool preprocess_input,
scanbotsdk_medical_certificate_scanning_parameters_t ** result )

Creates a new instance of scanbotsdk_medical_certificate_scanning_parameters with given params and stores it in the location specified by the last argument.

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
should_crop_documentDocument will be detected and cropped before recognition. If false, a cropped image of a document is assumed.

Default is true

Parameters
recognize_patient_info_boxAll data in the patient info box will be extracted. If false, the patient info box is ignored.

Default is true

Parameters
recognize_barcodeSome forms are printed with an extra barcode that encodes the same information as the document. Reading the barcode is more reliable than OCR and is recommended when possible. If false, the barcode will not be scanned.

Default is true

Parameters
extract_cropped_imageIf true, cropped document image will be extracted and returned.

Default is false

Parameters
preprocess_inputIf true, the image is sharpened before processing.

Default is false

Parameters
resultPointer to a variable that will store the created instance of scanbotsdk_medical_certificate_scanning_parameters_t
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_create_with_defaults()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_create_with_defaults ( scanbotsdk_medical_certificate_scanning_parameters_t ** result)

Creates a new instance of scanbotsdk_medical_certificate_scanning_parameters_t with given required params and stores it in the location specified by the last argument.

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
resultPointer to a variable that will store the created instance of scanbotsdk_medical_certificate_scanning_parameters_t
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_free ( scanbotsdk_medical_certificate_scanning_parameters_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanning_parameters_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_get_extract_cropped_image()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_extract_cropped_image ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool * extract_cropped_image )

Returns value of extract_cropped_image field of the given object.

If true, cropped document image will be extracted and returned.

Default is false

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t
extract_cropped_imagePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_parameters_get_preprocess_input()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_preprocess_input ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool * preprocess_input )

Returns value of preprocess_input field of the given object.

If true, the image is sharpened before processing.

Default is false

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t
preprocess_inputPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_parameters_get_recognize_barcode()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_recognize_barcode ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool * recognize_barcode )

Returns value of recognize_barcode field of the given object.

Some forms are printed with an extra barcode that encodes the same information as the document. Reading the barcode is more reliable than OCR and is recommended when possible. If false, the barcode will not be scanned.

Default is true

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t
recognize_barcodePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_parameters_get_recognize_patient_info_box()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_recognize_patient_info_box ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool * recognize_patient_info_box )

Returns value of recognize_patient_info_box field of the given object.

All data in the patient info box will be extracted. If false, the patient info box is ignored.

Default is true

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t
recognize_patient_info_boxPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_parameters_get_should_crop_document()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_get_should_crop_document ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool * should_crop_document )

Returns value of should_crop_document field of the given object.

Document will be detected and cropped before recognition. If false, a cropped image of a document is assumed.

Default is true

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t
should_crop_documentPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_parameters_set_extract_cropped_image()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_extract_cropped_image ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool extract_cropped_image )

Sets value of extract_cropped_image field of the given object.

If true, cropped document image will be extracted and returned.

Default is false

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t, the field of which will be set
extract_cropped_imageThe value to be set.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_set_preprocess_input()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_preprocess_input ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool preprocess_input )

Sets value of preprocess_input field of the given object.

If true, the image is sharpened before processing.

Default is false

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t, the field of which will be set
preprocess_inputThe value to be set.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_set_recognize_barcode()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_recognize_barcode ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool recognize_barcode )

Sets value of recognize_barcode field of the given object.

Some forms are printed with an extra barcode that encodes the same information as the document. Reading the barcode is more reliable than OCR and is recommended when possible. If false, the barcode will not be scanned.

Default is true

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t, the field of which will be set
recognize_barcodeThe value to be set.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_set_recognize_patient_info_box()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_recognize_patient_info_box ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool recognize_patient_info_box )

Sets value of recognize_patient_info_box field of the given object.

All data in the patient info box will be extracted. If false, the patient info box is ignored.

Default is true

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t, the field of which will be set
recognize_patient_info_boxThe value to be set.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_parameters_set_should_crop_document()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_parameters_set_should_crop_document ( scanbotsdk_medical_certificate_scanning_parameters_t * self,
bool should_crop_document )

Sets value of should_crop_document field of the given object.

Document will be detected and cropped before recognition. If false, a cropped image of a document is assumed.

Default is true

As a rule if a function argument is a pointer to a scanbotsdk structure (scanbotsdk_..._t*) then the corresponding objects after function execution are left in valid but unspecified state, the caller is still responsible for freeing them. Exceptions are scanbotsdk_image_t*, scanbotdk_random_access_source_t* (if applicable) which are guaranteed to be in the original state.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_parameters_t, the field of which will be set
should_crop_documentThe value to be set.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_result_free()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_free ( scanbotsdk_medical_certificate_scanning_result_t * object)

Frees the memory allocated for the instance of scanbotsdk_medical_certificate_scanning_result_t. If null is passed, the function does nothing.

Parameters
objectPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t to be freed
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered

◆ scanbotsdk_medical_certificate_scanning_result_get_check_boxes()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_check_boxes ( scanbotsdk_medical_certificate_scanning_result_t * self,
scanbotsdk_medical_certificate_check_box_t ** check_boxes,
size_t size )

Returns value of check_boxes field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Found checkboxes.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
sizeSize of the pre-allocated array. Must be equal to the size obtained by calling the corresponding _size function.
check_boxesPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_check_boxes_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_check_boxes_size ( scanbotsdk_medical_certificate_scanning_result_t * self,
size_t * size )

Returns size of check_boxes array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_clockwise_rotations()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_clockwise_rotations ( scanbotsdk_medical_certificate_scanning_result_t * self,
int * clockwise_rotations )

Returns value of clockwise_rotations field of the given object.

The number of 90-degree clockwise rotations that were applied to the original image. The same number of counter-clockwise rotations are necessary to make the image upright again.

Default is 0

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
clockwise_rotationsPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_cropped_image()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_cropped_image ( scanbotsdk_medical_certificate_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.

The cropped image used for recognition.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
cropped_imagePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_dates()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_dates ( scanbotsdk_medical_certificate_scanning_result_t * self,
scanbotsdk_medical_certificate_date_record_t ** dates,
size_t size )

Returns value of dates field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Found dates.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
sizeSize of the pre-allocated array. Must be equal to the size obtained by calling the corresponding _size function.
datesPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_dates_size()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_dates_size ( scanbotsdk_medical_certificate_scanning_result_t * self,
size_t * size )

Returns size of dates array.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
sizePointer to a variable that will store the size.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_document_detection_result()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_document_detection_result ( scanbotsdk_medical_certificate_scanning_result_t * self,
scanbotsdk_document_detection_result_t ** document_detection_result )

Returns value of document_detection_result field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Result of the document detection in the input image. Is available only if the shouldCropDocument parameter is set to true.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
document_detection_resultPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_form_type()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_form_type ( scanbotsdk_medical_certificate_scanning_result_t * self,
scanbotsdk_medical_certificate_form_type_t * form_type )

Returns value of form_type field of the given object.

Form type.

Default is UNKNOWN

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
form_typePointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_patient_info_box()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_patient_info_box ( scanbotsdk_medical_certificate_scanning_result_t * self,
scanbotsdk_medical_certificate_patient_info_box_t ** patient_info_box )

Returns value of patient_info_box field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.

Patient info box.

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
patient_info_boxPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_scale_x()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scale_x ( scanbotsdk_medical_certificate_scanning_result_t * self,
double * scale_x )

Returns value of scale_x field of the given object.

The scale factor used to scale the image to the recognition size.

Default is 1.0

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
scale_xPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_scale_y()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scale_y ( scanbotsdk_medical_certificate_scanning_result_t * self,
double * scale_y )

Returns value of scale_y field of the given object.

The scale factor used to scale the image to the recognition size.

Default is 1.0

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
scale_yPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.

◆ scanbotsdk_medical_certificate_scanning_result_get_scanning_successful()

SBSDK_API scanbotsdk_error_code_t scanbotsdk_medical_certificate_scanning_result_get_scanning_successful ( scanbotsdk_medical_certificate_scanning_result_t * self,
bool * scanning_successful )

Returns value of scanning_successful field of the given object.

True if scanning was successful.

Default is false

Parameters
selfPointer to the instance of scanbotsdk_medical_certificate_scanning_result_t
scanning_successfulPointer to a variable that will store the value of the field.
Returns
: Error code, SCANBOTSDK_OK if no errors were encountered.