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.

DSSimplifiedLabelRecognizerSettings

The DSSimplifiedLabelRecognizerSettings class contains settings for label recognition. It is a sub-parameter of DSSimplifiedCaptureVisionSettings

Definition

Assembly: DynamsoftLabelRecognizer.xcframework

  • Objective-C
  • Swift
  1. @interface DSSimplifiedLabelRecognizerSettings : NSObject
    
  2. class SimplifiedLabelRecognizerSettings: NSObject
    

Property Summary

Property Type Description
grayscaleTransformationModes NSArray<DSGrayscaleTransformationMode> Set the grayscale transformation modes with an array of enumeration GrayscaleTransformationMode.
grayscaleEnhancementModes NSArray<DSGrayscaleEnhancementMode> Set the grayscale enhancement modes with an array of enumeration GrayscaleEnhancementMode.
characterModelName NSString Specify a character model by its name.
lineStringRegExPattern NSString Set the RegEx pattern of the text line string to filter out the unqualified results.
maxThreadsInOneTask NSInteger Set the maximum available threads count in one label recognition task.
scaleDownThreshold NSInteger Set the threshold for image shrinking when dealing with large images.

grayscaleTransformationModes

Set the grayscale transformation modes with an array of enumeration GrayscaleTransformationMode.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, copy) NSArray* grayscaleTransformationModes;
    
  2. var grayscaleTransformationModes: [Any]? { get set }
    

Remarks

View the parameter reference page of GrayscaleTransformationMode for more detail about how to set grayscale transformation modes.

grayscaleEnhancementModes

Set the grayscale enhancement modes with an array of enumeration GrayscaleEnhancementMode.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, copy) NSArray* grayscaleEnhancementModes;
    
  2. var grayscaleEnhancementModes: [Any]? { get set }
    

Remarks

View the reference page of GrayscaleEnhancementMode for more detail about how to set grayscale enhancement modes.

characterModelName

Specify a character model by its name.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, copy) NSString* characterModelName;
    
  2. var characterModelName: String? { get set }
    

Remarks

View the parameter reference of CharacterModelName for more details about how to use the parameter.

lineStringRegExPattern

Set the RegEx pattern of the text line string to filter out the unqualified results.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, copy) NSString* lineStringRegExPattern;
    
  2. var lineStringRegExPattern: String? { get set }
    

Remarks

View the parameter reference of StringRegExPattern.

maxThreadsInOneTask

Set the maximum available threads count in one label recognition task.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) NSInteger maxThreadsInOneTask;
    
  2. var maxThreadsInOneTask: Int { get set }
    

Remarks

View the parameter reference of maxThreadsInOneTask.

scaleDownThreshold

Set the threshold for image shrinking when dealing with large images.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) NSInteger scaleDownThreshold;
    
  2. var scaleDownThreshold: Int { get set }
    

Remarks

View the parameter reference of ScaleDownThreshold.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.2.20
    • Version 2.0.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support