TextResultOrderModes
Parameter TextResultOrderModes
defines the order of the returned text results.
Example
{
"TextResultOrderModes" :
[
{
"Mode" : "TROM_CONFIDENCE"
},
{
"Mode" : "TROM_POSITION"
},
{
"Mode" : "TROM_FORMAT"
}
]
}
Parameter Summary
Parameter TextResultOrderModes
consist of a group of text result order mode objects. Each text result order mode object includes a candidate mode and a series of auxiliary mode arguments. The structure of the text result order mode object is shown as follow:
Mode Arguments
Mode Argument Name | Mode Argument Summary |
---|---|
Mode (Required) |
Description Specifies a mode for ordering. |
Type String |
|
Candidate Mode List TROM_CONFIDENCE TROM_POSITION TROM_FORMAT TROM_SKIP |
|
Default Value |
Default Setting
If the TextResultOrderModes
is not configured in your template file, the following setting will be used as the default setting.
{
"TextResultOrderModes" :
[
{
"Mode" : "TROM_CONFIDENCE"
},
{
"Mode" : "TROM_POSITION"
},
{
"Mode" : "TROM_FORMAT"
}
]
}
Candidate Modes Introduction
TROM_CONFIDENCE
Returns the text results in descending order by confidence.
TROM_POSITION
Returns the text results in position order, from top to bottom, then left to right.
TROM_FORMAT
Returns the text results in alphabetical and numerical order by barcode format string