VideoFaceDetectionFeature¶
- 
class oci.ai_vision.models.VideoFaceDetectionFeature(**kwargs)¶
- Bases: - oci.ai_vision.models.video_feature.VideoFeature- Video face detection feature - Attributes - FEATURE_TYPE_FACE_DETECTION- str(object=’’) -> str - FEATURE_TYPE_LABEL_DETECTION- str(object=’’) -> str - FEATURE_TYPE_OBJECT_DETECTION- str(object=’’) -> str - FEATURE_TYPE_OBJECT_TRACKING- str(object=’’) -> str - FEATURE_TYPE_TEXT_DETECTION- str(object=’’) -> str - feature_type- [Required] Gets the feature_type of this VideoFeature. - is_landmark_required- Gets the is_landmark_required of this VideoFaceDetectionFeature. - max_results- Gets the max_results of this VideoFaceDetectionFeature. - min_confidence- Gets the min_confidence of this VideoFaceDetectionFeature. - Methods - __init__(**kwargs)- Initializes a new VideoFaceDetectionFeature 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'¶
 - 
FEATURE_TYPE_LABEL_DETECTION= 'LABEL_DETECTION'¶
 - 
FEATURE_TYPE_OBJECT_DETECTION= 'OBJECT_DETECTION'¶
 - 
FEATURE_TYPE_OBJECT_TRACKING= 'OBJECT_TRACKING'¶
 - 
FEATURE_TYPE_TEXT_DETECTION= 'TEXT_DETECTION'¶
 - 
__init__(**kwargs)¶
- Initializes a new VideoFaceDetectionFeature object with values from keyword arguments. The default value of the - feature_typeattribute of this class is- FACE_DETECTIONand it should not be changed. 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 VideoFaceDetectionFeature. Allowed values for this property are: “LABEL_DETECTION”, “OBJECT_DETECTION”, “TEXT_DETECTION”, “FACE_DETECTION”, “OBJECT_TRACKING”
- max_results (int) – The value to assign to the max_results property of this VideoFaceDetectionFeature.
- is_landmark_required (bool) – The value to assign to the is_landmark_required property of this VideoFaceDetectionFeature.
- min_confidence (float) – The value to assign to the min_confidence property of this VideoFaceDetectionFeature.
 
 - 
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. 
 - 
is_landmark_required¶
- Gets the is_landmark_required of this VideoFaceDetectionFeature. Whether or not return face landmarks. - Returns: - The is_landmark_required of this VideoFaceDetectionFeature. - Return type: - bool 
 - 
max_results¶
- Gets the max_results of this VideoFaceDetectionFeature. The maximum number of results per frame to return. - Returns: - The max_results of this VideoFaceDetectionFeature. - Return type: - int 
 - 
min_confidence¶
- Gets the min_confidence of this VideoFaceDetectionFeature. The minimum confidence score, between 0 and 1, when the value is set, results with lower confidence will not be returned. - Returns: - The min_confidence of this VideoFaceDetectionFeature. - Return type: - float 
 
-