Documentation
Table of contents

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

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.20
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support