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 SDK - Parameters

LabelRecognitionParameter Object

Parameter Name Description
LabelRecognitionParameter.Name The name of the LabelRecognitionParameter object.
LabelRecognitionParameter.BinarizationModes Sets the mode and priority for binarization.
LabelRecognitionParameter.CharacterModelName Sets the name of a white list of recognizable characters.
LabelRecognitionParameter.GrayscaleTransformationModes Sets the mode and priority for the grayscale image conversion.
LabelRecognitionParameter.LetterHeightRange Sets the range of letter height (in pixel or a percentage value relative to the height of the text area).
LabelRecognitionParameter.LinesCount Sets the text lines count of the text area.
LabelRecognitionParameter.LineStringRegExPattern Specifies the regular expression pattern of each line string text in current image to recognize.
LabelRecognitionParameter.MaxThreadCount Sets the maximum number of threads the algorithm will use to recognize text.
LabelRecognitionParameter.ReferenceRegionNameArray The name array of the ReferenceRegion object(s).
LabelRecognitionParameter.RegionPredetectionModes Sets the region pre-detection mode for searching target regions.
LabelRecognitionParameter.TextRegExPattern Specifies the regular expression pattern of the text to recognize.

ReferenceRegion Object

Parameter Name Description
ReferenceRegion.Name The name of the ReferenceRegion object.
ReferenceRegion.Localization The localization of the reference region(s).
ReferenceRegion.TextAreaNameArray Specifies the name array of the TextAreas which is relative to current reference region.

TextArea Object

Parameter Name Description
TextArea.Name The name of the TextArea object.
TextArea.FirstPoint The first point of the text area, which is usually the top-left corner.
TextArea.SecondPoint The second point of the text area, which is usually the top-right corner.
TextArea.ThirdPoint The third point of the text area, which is usually the bottom-right corner.
TextArea.FourthPoint The fourth point of the text area, which is usually the bottom-left corner.
TextArea.CharacterModelName Sets the name of a white list of recognizable characters.
TextArea.GrayscaleTransformationModes Sets the mode and priority for the grayscale image conversion.
TextArea.LetterHeightRange Sets the range of letter height (in pixel or a percentage value relative to the height of the text area).
TextArea.LinesCount Sets the text lines count of the text area.
TextArea.LineSpecificationNameArray Specifies the name array of the LineSpecification objects which is relative to current TextArea.
TextArea.LineStringRegExPattern Specifies the regular expression pattern of each line string text in current text area to recognize.
TextArea.TextAreaNameArray Specifies the name array of the TextAreas which is relative to current text area.
TextArea.TextRegExPattern Specifies the regular expression pattern of the text to recognize.

LineSpecification Object

Parameter Name Description
LineSpecification.Name The name of the LineSpecification object.
LineSpecification.CharacterModelName Sets the name of a white list of recognizable characters.
LineSpecification.LineNumber The line number of the line targeted by the LineSpecification object.
LineSpecification.LineStringRegExPattern Specifies the regular expression pattern of the string within a line.

CharacterModel Object

Parameter Name Description
CharacterModel.Name The name of the CharacterModel object.
CharacterModel.DirectoryPath The path of the folder containing the character model files.
CharacterModel.FilterFilePath The full path of the filter file which specifies the characters to be recognized.

Organizational Json Parameter

Parameter Name Description
LabelRecognitionParameterArray An array of LabelRecognitionParameter objects.
ReferenceRegionArray An array of ReferenceRegionArray objects.
TextAreaArray An array of TextArea objects.
LineSpecificationArray An array of LineSpecification objects.
CharacterModelArray An array of CharacterModel objects.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

version 1.0

  • Latest version(3.2.20)
  • Version 3.x
    • Version 3.2.10
    • 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 +