Enum Class BaseReader.ImageDetectionType

java.lang.Object
java.lang.Enum<BaseReader.ImageDetectionType>
com.digimarc.dms.readers.BaseReader.ImageDetectionType
All Implemented Interfaces:
Serializable, Comparable<BaseReader.ImageDetectionType>, Constable
Enclosing class:
BaseReader

public static enum BaseReader.ImageDetectionType extends Enum<BaseReader.ImageDetectionType>
ImageDetectionType is used by the ImageReader and VideoCaptureReader to specify how intensively the reader examines each image. Detection type must be specified when creating using the ImageReader class but it is an optional operation on the VideoCaptureReader. In most cases we recommend using ImageDetectionType.Default
  • Enum Constant Details

    • Quick

      public static final BaseReader.ImageDetectionType Quick
      Quick detection is intended for use on camera frames. Detection operations are performed primarily near the center of the image, with some detections being performed on random areas scattered around the image. This detection type balances detection robustness against device performance (CPU and battery usage).
    • Intensive

      public static final BaseReader.ImageDetectionType Intensive
      Intensive detection is intended for use on bitmaps or in cases where a deeper search is required. Detection operations are performed across the entire image, with many of the detection regions overlapping each other. The performance cost is high enough that this is not recommended for use with camera frames.
  • Field Details

    • Default

      public static final BaseReader.ImageDetectionType Default
      ImageDetectionType.Default should be used for most situations. Currently Default is equivalent to Quick, but as device performance improves we may add more intensive detection techniques for greater robustness in future SDK updates. Using Default in your application will give you the advantages of these improvements without requiring code changes on your part.
  • Method Details

    • values

      public static BaseReader.ImageDetectionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BaseReader.ImageDetectionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null