Enum VisionFeature

java.lang.Object
java.lang.Enum<VisionFeature>
com.codename1.ai.vision.VisionFeature
All Implemented Interfaces:
Comparable<VisionFeature>

public enum VisionFeature extends Enum<VisionFeature>
Features understood by the shared vision backend.
  • Enum Constant Details

    • TEXT_RECOGNITION

      public static final VisionFeature TEXT_RECOGNITION
    • BARCODE_SCANNING

      public static final VisionFeature BARCODE_SCANNING
    • FACE_DETECTION

      public static final VisionFeature FACE_DETECTION
    • IMAGE_LABELING

      public static final VisionFeature IMAGE_LABELING
    • POSE_DETECTION

      public static final VisionFeature POSE_DETECTION
    • SELFIE_SEGMENTATION

      public static final VisionFeature SELFIE_SEGMENTATION
    • DOCUMENT_SCANNING

      public static final VisionFeature DOCUMENT_SCANNING
  • Method Details

    • values

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

      public static VisionFeature valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null