Resource Base
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 consisits 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 Vaild Modes
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 Vaild Modes
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 Vaild Modes
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 Vaild Modes
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 index decides the priority the mode to recognize accompanying text. 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

latest version

  • Latest version
  • Version 8.6.0
  • Version 8.4.0
  • Version 8.2.5
  • Version 8.2.3
  • Version 8.2.1
  • Version 8.2.0
  • Version 8.1.3
  • Version 8.1.2
  • Version 8.1.0
  • Version 8.0.0
  • Version 7.6.0
  • Version 7.5.0
Change +
© 2003–2021 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support