Dev Center
Swift
Objective-C
Table of contents

EnumRegionPredetectionMode

  • Android
  • Objective-C
  • Swift
public class EnumRegionPredetectionMode {
    public static final int RPM_AUTO = 1;
    public static final int RPM_GENERAL = 2;
    public static final int RPM_GENERAL_RGB_CONTRAST = 4;
    public static final int RPM_GENERAL_GRAY_CONTRAST = 8;
    public static final int RPM_GENERAL_HSV_CONTRAST = 16;
    public static final int RPM_SKIP = 0;
}
typedef NS_ENUM(NSInteger, EnumRegionPredetectionMode)
{
    /** The library will automatically choose the algorithm to detect region. */
    EnumRegionPredetectionModeAuto = 0x01,
    /** Takes the whole image as a region. */
    EnumRegionPredetectionModeGeneral = 0x02,
    /** Detects region using the general algorithm based on RGB colour contrast. Check @ref RPM for available argument settings.*/
    EnumRegionPredetectionModeGeneralRGBContrast = 0x04,
    /** Detects region using the general algorithm based on gray contrast. Check @ref RPM for available argument settings.*/
    EnumRegionPredetectionModeGeneralGrayContrast = 0x08,
    /** Detects region using the general algorithm based on HSV colour contrast. Check @ref RPM for available argument settings.*/
    EnumRegionPredetectionModeGeneralHSVContrast = 0x10,
    /** Skips region detection. */
    EnumRegionPredetectionModeSkip = 0x00
};
public enum EnumRegionPredetectionMode : Int{
    /** The library will automatically choose the algorithm to detect region. */
    auto = 0x01
    /** Takes the whole image as a region. */
    general = 0x02
    /** Detects region using the general algorithm based on RGB colour contrast. Check @ref RPM for available argument settings.*/
    generalRGBContrast = 0x04
    /** Detects region using the general algorithm based on gray contrast. Check @ref RPM for available argument settings.*/
    generalGrayContrast = 0x08
    /** Detects region using the general algorithm based on HSV colour contrast. Check @ref RPM for available argument settings.*/
    generalHSVContrast = 0x10
    /** Skips region detection. */
    skip = 0x00
}

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

    • Latest version (10.2.10)
    • Version 10.x
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.13
      • Version 9.2.11
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +