VideoFeature¶
-
class
oci.ai_vision.models.
VideoFeature
(**kwargs)¶ Bases:
object
Details about a video feature request.
Attributes
FEATURE_TYPE_FACE_DETECTION
A constant which can be used with the feature_type property of a VideoFeature. FEATURE_TYPE_LABEL_DETECTION
A constant which can be used with the feature_type property of a VideoFeature. FEATURE_TYPE_OBJECT_DETECTION
A constant which can be used with the feature_type property of a VideoFeature. FEATURE_TYPE_OBJECT_TRACKING
A constant which can be used with the feature_type property of a VideoFeature. FEATURE_TYPE_TEXT_DETECTION
A constant which can be used with the feature_type property of a VideoFeature. feature_type
[Required] Gets the feature_type of this VideoFeature. Methods
__init__
(**kwargs)Initializes a new VideoFeature object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
FEATURE_TYPE_FACE_DETECTION
= 'FACE_DETECTION'¶ A constant which can be used with the feature_type property of a VideoFeature. This constant has a value of “FACE_DETECTION”
-
FEATURE_TYPE_LABEL_DETECTION
= 'LABEL_DETECTION'¶ A constant which can be used with the feature_type property of a VideoFeature. This constant has a value of “LABEL_DETECTION”
-
FEATURE_TYPE_OBJECT_DETECTION
= 'OBJECT_DETECTION'¶ A constant which can be used with the feature_type property of a VideoFeature. This constant has a value of “OBJECT_DETECTION”
-
FEATURE_TYPE_OBJECT_TRACKING
= 'OBJECT_TRACKING'¶ A constant which can be used with the feature_type property of a VideoFeature. This constant has a value of “OBJECT_TRACKING”
-
FEATURE_TYPE_TEXT_DETECTION
= 'TEXT_DETECTION'¶ A constant which can be used with the feature_type property of a VideoFeature. This constant has a value of “TEXT_DETECTION”
-
__init__
(**kwargs)¶ Initializes a new VideoFeature object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
VideoObjectDetectionFeature
VideoFaceDetectionFeature
VideoTextDetectionFeature
VideoObjectTrackingFeature
VideoLabelDetectionFeature
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: feature_type (str) – The value to assign to the feature_type property of this VideoFeature. Allowed values for this property are: “LABEL_DETECTION”, “OBJECT_DETECTION”, “TEXT_DETECTION”, “FACE_DETECTION”, “OBJECT_TRACKING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
feature_type
¶ [Required] Gets the feature_type of this VideoFeature. 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).
Allowed values for this property are: “LABEL_DETECTION”, “OBJECT_DETECTION”, “TEXT_DETECTION”, “FACE_DETECTION”, “OBJECT_TRACKING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The feature_type of this VideoFeature. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-