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.

LabelRecognizerParameter Object

GrayscaleTransformationModes

Mode Properties

GrayscaleTransformationModes is a parameter for setting the mode for the grayscale image conversion. It consisits of one or more GrayscaleTransformationMode items. The array index represents the priority of the item. The smaller index is, the higher priority is.

Value Type Value Range Default Value
GrayscaleTransformationMode array “GTM_SKIP”
“GTM_INVERTED”
“GTM_ORIGINAL”
[“GTM_ORIGINAL”, “GTM_SKIP”, “GTM_SKIP”, “GTM_SKIP”, “GTM_SKIP”, “GTM_SKIP”, “GTM_SKIP”, “GTM_SKIP”]

Setting Methods

As JSON Parameter

GrayscaleTransformationModes as a JSON parameter is a JSON Object array. ach JSON Object has a key Mode for setting the mode, and the array index decides the priority of the mode for the grayscale image conversion. Default values will be used if there is no manual setting.

Json Object Json Parameter Name Value Type
LabelRecognitionParameter GrayscaleTransformationModes JSON Object Array

Json Parameter Example

{
    "GrayscaleTransformationModes": [
        {
            "Mode": "GTM_INVERTED"
        },
        {
            "Mode": "GTM_ORIGINAL"
        }
    ]
}

As DLR_RuntimeSettings Member

GrayscaleTransformationModes is a GrayscaleTransformationMode array defines in DLRRuntimeSettings. It is used for setting the modes and the priority for the grayscale image conversion. Default value will be used if there is no manual setting.

Struct Struct Member Name Value Type
DLR_RuntimeSettings->furtherModes grayscaleTransformationModes GrayscaleTransformationMode[8]

See Also

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • 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 +