AnalyzeImageResult

class oci.ai_vision.models.AnalyzeImageResult(**kwargs)

Bases: object

The image analysis results.

Methods:

__init__(**kwargs)

Initializes a new AnalyzeImageResult object with values from keyword arguments.

Attributes:

detected_faces

Gets the detected_faces of this AnalyzeImageResult.

errors

Gets the errors of this AnalyzeImageResult.

face_detection_model_version

Gets the face_detection_model_version of this AnalyzeImageResult.

image_classification_model_version

Gets the image_classification_model_version of this AnalyzeImageResult.

image_objects

Gets the image_objects of this AnalyzeImageResult.

image_text

Gets the image_text of this AnalyzeImageResult.

labels

Gets the labels of this AnalyzeImageResult.

object_detection_model_version

Gets the object_detection_model_version of this AnalyzeImageResult.

ontology_classes

Gets the ontology_classes of this AnalyzeImageResult.

text_detection_model_version

Gets the text_detection_model_version of this AnalyzeImageResult.

__init__(**kwargs)

Initializes a new AnalyzeImageResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • image_objects (list[oci.ai_vision.models.ImageObject]) – The value to assign to the image_objects property of this AnalyzeImageResult.

  • labels (list[oci.ai_vision.models.Label]) – The value to assign to the labels property of this AnalyzeImageResult.

  • ontology_classes (list[oci.ai_vision.models.OntologyClass]) – The value to assign to the ontology_classes property of this AnalyzeImageResult.

  • image_text (oci.ai_vision.models.ImageText) – The value to assign to the image_text property of this AnalyzeImageResult.

  • detected_faces (list[oci.ai_vision.models.Face]) – The value to assign to the detected_faces property of this AnalyzeImageResult.

  • image_classification_model_version (str) – The value to assign to the image_classification_model_version property of this AnalyzeImageResult.

  • object_detection_model_version (str) – The value to assign to the object_detection_model_version property of this AnalyzeImageResult.

  • text_detection_model_version (str) – The value to assign to the text_detection_model_version property of this AnalyzeImageResult.

  • face_detection_model_version (str) – The value to assign to the face_detection_model_version property of this AnalyzeImageResult.

  • errors (list[oci.ai_vision.models.ProcessingError]) – The value to assign to the errors property of this AnalyzeImageResult.

property detected_faces

Gets the detected_faces of this AnalyzeImageResult. The detected faces.

Returns

The detected_faces of this AnalyzeImageResult.

Return type

list[oci.ai_vision.models.Face]

property errors

Gets the errors of this AnalyzeImageResult. The errors encountered during image analysis.

Returns

The errors of this AnalyzeImageResult.

Return type

list[oci.ai_vision.models.ProcessingError]

property face_detection_model_version

Gets the face_detection_model_version of this AnalyzeImageResult. The face detection model version.

Returns

The face_detection_model_version of this AnalyzeImageResult.

Return type

str

property image_classification_model_version

Gets the image_classification_model_version of this AnalyzeImageResult. The image classification model version.

Returns

The image_classification_model_version of this AnalyzeImageResult.

Return type

str

property image_objects

Gets the image_objects of this AnalyzeImageResult. The detected objects.

Returns

The image_objects of this AnalyzeImageResult.

Return type

list[oci.ai_vision.models.ImageObject]

property image_text

Gets the image_text of this AnalyzeImageResult.

Returns

The image_text of this AnalyzeImageResult.

Return type

oci.ai_vision.models.ImageText

property labels

Gets the labels of this AnalyzeImageResult. The image classification labels.

Returns

The labels of this AnalyzeImageResult.

Return type

list[oci.ai_vision.models.Label]

property object_detection_model_version

Gets the object_detection_model_version of this AnalyzeImageResult. The object detection model version.

Returns

The object_detection_model_version of this AnalyzeImageResult.

Return type

str

property ontology_classes

Gets the ontology_classes of this AnalyzeImageResult. The ontologyClasses of image labels.

Returns

The ontology_classes of this AnalyzeImageResult.

Return type

list[oci.ai_vision.models.OntologyClass]

property text_detection_model_version

Gets the text_detection_model_version of this AnalyzeImageResult. The text detection model version.

Returns

The text_detection_model_version of this AnalyzeImageResult.

Return type

str