Skip to content

Latest commit

 

History

History
98 lines (76 loc) · 5.46 KB

File metadata and controls

98 lines (76 loc) · 5.46 KB
layout title description keywords needAutoGenerateSidebar permalink
default-layout
Main Page - Dynamsoft Label Recognition Android API Reference
This is the main page of Dynamsoft Label Recognition for Android API Reference.
api reference, android
false
/programming/android/api-reference/index-v1.2.1.html

Dynamsoft Label Recognition - Android API Reference

LabelRecognition Methods

General

Method Description
getVersion Returns the version number string for the SDK.

 

Initialization

Method Description
LabelRecognition Initialization of LabelRecognition object.
destroy Destroys an instance of LabelRecognition object.
initLicense Sets the license and activates the SDK.
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.
appendSettingsFromFile Appends LabelRecognitionParameter settings from a file 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.
appendCharacterModelBuffer Appends CharacterModel to the SDK object.
eraseAllCharacterModels Erases all CharacterModels the SDK object currently loaded.
eraseCharacterModelByName Erases a name specified CharacterModel from the SDK object.

 

Recognizing

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

 

Classes

 

Enumerations

  • [EnumDLRBarcodeFormat]({{ site.enumerations }}other-enums.html#dlrbarcodeformat)
  • [EnumDLRBarcodeFormat_2]({{ site.enumerations }}other-enums.html#dlrbarcodeformat_2)
  • [EnumDLRBinarizationMode]({{ site.enumerations }}parameter-mode-enums.html#dlrbinarizationmode)
  • [EnumDLRGrayscaleTransformationMode]({{ site.enumerations }}parameter-mode-enums.html#dlrgrayscaletransformationmode)
  • [EnumDLRImagePixelFormat]({{ site.enumerations }}other-enums.html#dlrimagepixelformat)
  • [EnumDLRLocalizationSourceType]({{ site.enumerations }}other-enums.html#dlrlocalizationsourcetype)
  • [EnumDLRRegionPredetectionMode]({{ site.enumerations }}parameter-mode-enums.html#dlrregionpredetectionmode)
  • [EnumDMChargeWay]({{ site.enumerations }}other-enums.html#dm_chargeway)
  • [EnumDMLicenseModule]({{ site.enumerations }}other-enums.html#dm_licensemodule)
  • [EnumDMUUIDGenerationMethod]({{ site.enumerations }}other-enums.html#dm_uuidgenerationmethod)
  • [EnumProduct]({{ site.enumerations }}other-enums.html#product)

 

[Error Code]({{ site.enumerations }}error-code.html)