Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

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

ImageParameter Object - Image Process Control Parameters

AccompanyingTextRecognitionModes

Mode Properties

AccompanyingTextRecognitionModes is a parameter for setting the mode to recognize accompanying text. It consists of one or more AccompanyingTextRecognitionMode items and each item has its own arguments. The array index represents the priority of the item. The smaller index is, the higher priority is.

Value Type Value Range Default Value
string array or AccompanyingTextRecognitionMode array “ATRM_SKIP”
“ATRM_GENERAL”
[“ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”, “ATRM_SKIP”]

Mode Arguments

If RegionBottom, RegionLeft, RegionRight and RegionTop are all equal to 0, the accompanying text zone will be detected automatically by the SDK.

RegionBottom

Specifies the y-coordinate of the bottom-right corner of the region in percentage. This value is relative to the top-left corner of the barcode.

Value Type Value Range Default Value Valid Mode(s)
int [-255, 255] 0 “ATRM_GENERAL”
RegionLeft

Specifies the x-coordinate of the top-left corner of the region in percentage. This value is relative to the top-left corner of the barcode.

Value Type Value Range Default Value Valid Mode(s)
int [-255, 255] 0 “ATRM_GENERAL”
RegionRight

Specifies the x-coordinate of the bottom-right corner of the region in percentage. This value is relative to the top-left corner of the barcode.

Value Type Value Range Default Value Valid Mode(s)
int [-255, 255] 0 “ATRM_GENERAL”
RegionTop

Specifies the y-coordinate of the top-left corner of the region in percentage. This value is relative to the top-left corner of the barcode.

Value Type Value Range Default Value Valid Mode(s)
int [-255, 255] 0 “ATRM_GENERAL”

Setting Methods

As JSON Parameter

AccompanyingTextRecognitionModes as a JSON parameter is a JSON Object array. Each JSON Object has several keys for setting the mode and the value of arguments. The array order decides the priority order the modes are applied. Default values will be used if there is no manual setting.

Json Object Json Parameter Name Value Type
ImageParameter AccompanyingTextRecognitionModes JSON Object Array

JSON Parameter Example

{
    "AccompanyingTextRecognitionModes": [
        {
            "Mode": "ATRM_GENERAL",
            "RegionBottom": 50, 
            "RegionLeft": 50,
            "RegionRight": 50, 
            "RegionTop": 50
        }
]
}

 

As PublicRuntimeSettings Member

AccompanyingTextRecognitionModes is a AccompanyingTextRecognitionMode array defines in furtherModes which is a struct member of PublicRuntimeSettings. It is used for setting the modes and the priority to recognize accompanying text. Default value will be used if there is no manual setting.

Struct Struct Member Name Value Type
PublicRuntimeSettings->furtherModes accompanyingTextRecognitionModes AccompanyingTextRecognitionMode[8]

Remark

GetModeArgument and SetModeArgument need to be called for getting or setting the value of arguments.

See Also

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 10.x
      • Version 10.2.0
      • Version 10.0.21
      • Version 10.0.20
      • Version 10.0.10
      • Version 10.0.0
    • Version 9.x
      • Version 9.6.40
      • Version 9.6.33
      • Version 9.6.32
      • Version 9.6.31
      • Version 9.6.30
      • Version 9.6.20
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.0
      • Version 9.0.0
    • Version 8.x
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +