Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 1.44 KB

File metadata and controls

59 lines (48 loc) · 1.44 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex
default-layout
DSPredetectedRegionElement - Dynamsoft Core Module iOS Edition API Reference
The class DSPredetectedRegionElement of Dynamsoft Core Module represents a pre-detected region element, which is a subclass of DSRegionObjectElement.
pre-detected region element, objective-c, swift
true
true
true

DSPredetectedRegionElement

The DSPredetectedRegionElement class extends the DSRegionObjectElement class and represents a pre-detected region element in an image.

Definition

Assembly: DynamsoftCore.framework

>- Objective-C >- Swift > >1. ```objc @interface DSPredetectedRegionElement: DSRegionObjectElement ``` 2. ```swift class PredetectedRegionElement : RegionObjectElement ```

Attributes

Attributes Type Description
modeName NSString * The name of the detection mode used to detect this region element.

modeName

The name of the detection mode used to detect this region element. It can be one of the following:

  • "RPM_AUTO"
  • "RPM_GENERAL"
  • "RPM_GENERAL_RGB_CONTRAST"
  • "RPM_GENERAL_GRAY_CONTRAST"
  • "RPM_GENERAL_HSV_CONTRAST"
>- Objective-C >- Swift > >1. ```objc @property(nonatomic, assign, readonly) NSString *modeName; ``` 2. ```swift var modeName: String { get } ```