ImageObjectDetectionFeature¶
- 
class oci.ai_vision.models.ImageObjectDetectionFeature(**kwargs)¶
- Bases: - oci.ai_vision.models.image_feature.ImageFeature- The object detection parameters. - Attributes - FEATURE_TYPE_FACE_DETECTION- str(object=’’) -> str - FEATURE_TYPE_FACE_EMBEDDING- str(object=’’) -> str - FEATURE_TYPE_IMAGE_CLASSIFICATION- str(object=’’) -> str - FEATURE_TYPE_OBJECT_DETECTION- str(object=’’) -> str - FEATURE_TYPE_TEXT_DETECTION- str(object=’’) -> str - feature_type- [Required] Gets the feature_type of this ImageFeature. - max_results- Gets the max_results of this ImageObjectDetectionFeature. - model_id- Gets the model_id of this ImageObjectDetectionFeature. - Methods - __init__(**kwargs)- Initializes a new ImageObjectDetectionFeature 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_FACE_EMBEDDING= 'FACE_EMBEDDING'¶
 - 
FEATURE_TYPE_IMAGE_CLASSIFICATION= 'IMAGE_CLASSIFICATION'¶
 - 
FEATURE_TYPE_OBJECT_DETECTION= 'OBJECT_DETECTION'¶
 - 
FEATURE_TYPE_TEXT_DETECTION= 'TEXT_DETECTION'¶
 - 
__init__(**kwargs)¶
- Initializes a new ImageObjectDetectionFeature object with values from keyword arguments. The default value of the - feature_typeattribute of this class is- OBJECT_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 ImageObjectDetectionFeature. Allowed values for this property are: “IMAGE_CLASSIFICATION”, “OBJECT_DETECTION”, “TEXT_DETECTION”, “FACE_DETECTION”, “FACE_EMBEDDING”
- max_results (int) – The value to assign to the max_results property of this ImageObjectDetectionFeature.
- model_id (str) – The value to assign to the model_id property of this ImageObjectDetectionFeature.
 
 - 
feature_type¶
- [Required] Gets the feature_type of this ImageFeature. The type of image analysis requested. The allowed values are: - IMAGE_CLASSIFICATION: Label the image. - OBJECT_DETECTION: Identify objects in the image with bounding boxes. - TEXT_DETECTION: Recognize text at the word and line level. - FACE_DETECTION: Identify faces in the image with bounding boxes and face landmarks. - FACE_EMBEDDING: Extract facial features in image as vectors with information on bounding boxes and face landmarks. - Allowed values for this property are: “IMAGE_CLASSIFICATION”, “OBJECT_DETECTION”, “TEXT_DETECTION”, “FACE_DETECTION”, “FACE_EMBEDDING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The feature_type of this ImageFeature. - 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. 
 - 
max_results¶
- Gets the max_results of this ImageObjectDetectionFeature. The maximum number of results to return. - Returns: - The max_results of this ImageObjectDetectionFeature. - Return type: - int 
 - 
model_id¶
- Gets the model_id of this ImageObjectDetectionFeature. The custom model ID. - Returns: - The model_id of this ImageObjectDetectionFeature. - Return type: - str 
 
-