Enum VideoFeature.FeatureType

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<VideoFeature.FeatureType>
    Enclosing class:
    VideoFeature

    public static enum VideoFeature.FeatureType
    extends Enum<VideoFeature.FeatureType>
    implements BmcEnum
    The feature of video analysis.

    Allowed values are: - LABEL_DETECTION: Label detection feature(IC). - OBJECT_DETECTION: Object detection feature(OD). - TEXT_DETECTION: Text detection feature(OCR). - FACE_DETECTION: Face detection feature(fd). - OBJECT_TRACKING: Object tracking feature(OT).

    • Method Detail

      • values

        public static VideoFeature.FeatureType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VideoFeature.FeatureType c : VideoFeature.FeatureType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VideoFeature.FeatureType 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