Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

Your download will start shortly. If your download does not begin, click here to retry.

Dynamsoft Label Recognition - C/C++ API Reference

CLabelRecognition Class

General

Method Description
GetErrorString Returns the error string.
GetVersion Returns the version number string for the SDK.

 

Initialization

Method Description
InitLicense Sets the license and activates the SDK.
InitLTSConnectionParameters Initializes a DM_LTSConnectionParameters struct with default values.
InitLicenseFromLTS Initializes the label recognition license and connects to the specified server for online verification.

 

Setting

Method Description
GetRuntimeSettings Gets the current settings and saves it into a struct.
UpdateRuntimeSettings Updates runtime settings with a given struct.
ResetRuntimeSettings Resets the runtime settings.
AppendSettingsFromString Appends LabelRecognitionParameter settings in a string to the SDK object.
OutputSettingsToFile Outputs LabelRecognitionParameter settings into a file (JSON file).
ClearAppendedSettings Clear all appended LabelRecognitionParameter settings in the SDK object.
UpdateReferenceRegionFromBarcodeResults Updates reference region which is defined with source type DLR_LST_BARCODE.
GetModeArgument Get argument value for the specified mode parameter.
SetModeArgument Set argument value for the specified mode parameter.

 

Recognizing

Method Description
RecognizeByBuffer Recognizes text from memory buffer containing image pixels in defined format.
RecognizeByFile Recognizes text from a specified image file.

 

Result

Method Description
GetAllDLRResults Gets all recognized results.
FreeDLRResults Frees memory allocated for recognized results.

 

C Functions

General

Method Description
DLR_GetErrorString Returns the error string.
DLR_GetVersion Returns the version number string for the SDK.

 

Initialization

Method Description
DLR_CreateInstance Creates a Dynamsoft Label Recognition instance.
DLR_DestroyInstance Destroys an instance of Dynamsoft Label Recognition.
DLR_InitLicense Sets the license and activates the SDK.
DLR_InitLTSConnectionParameters Initializes a DM_LTSConnectionParameters struct with default values.
DLR_InitLicenseFromLTS Initializes the label recognition license and connects to the specified server for online verification.

 

Setting

Method Description
DLR_GetRuntimeSettings Gets the current settings and saves it into a struct.
DLR_UpdateRuntimeSettings Updates runtime settings with a given struct.
DLR_ResetRuntimeSettings Resets the runtime settings.
DLR_AppendSettingsFromString Appends LabelRecognitionParameter settings in a string to the SDK object.
DLR_OutputSettingsToFile Outputs LabelRecognitionParameter settings into a file (JSON file).
DLR_ClearAppendedSettings Clears appended LabelRecognitionParameter settings.
DLR_GetModeArgument Get argument value for the specified mode parameter.
DLR_SetModeArgument Set argument value for the specified mode parameter.

 

Recognizing

Method Description
DLR_RecognizeByBuffer Recognizes text from memory buffer containing image pixels in defined format.
DLR_RecognizeByFile Recognizes text from a specified image file.

 

Result

Method Description
DLR_GetAllDLRResults Gets all recognized results.
DLR_FreeDLRResults Frees memory allocated for recognized results.

 

Enumerations

Error Code

Structs

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

version 1.0

  • Latest version(3.2.10)
  • Version 3.x
    • Version 3.2.0
    • Version 3.0.30
    • Version 3.0.20
    • Version 3.0.10
    • Version 3.0.0
  • Version 2.x
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support