Server IP : 103.119.228.120 / Your IP : 18.117.232.215 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/ai_vision/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220125 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class AnalyzeImageResult(object): """ The image analysis results. """ def __init__(self, **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): :param image_objects: The value to assign to the image_objects property of this AnalyzeImageResult. :type image_objects: list[oci.ai_vision.models.ImageObject] :param labels: The value to assign to the labels property of this AnalyzeImageResult. :type labels: list[oci.ai_vision.models.Label] :param ontology_classes: The value to assign to the ontology_classes property of this AnalyzeImageResult. :type ontology_classes: list[oci.ai_vision.models.OntologyClass] :param image_text: The value to assign to the image_text property of this AnalyzeImageResult. :type image_text: oci.ai_vision.models.ImageText :param detected_faces: The value to assign to the detected_faces property of this AnalyzeImageResult. :type detected_faces: list[oci.ai_vision.models.Face] :param image_classification_model_version: The value to assign to the image_classification_model_version property of this AnalyzeImageResult. :type image_classification_model_version: str :param object_detection_model_version: The value to assign to the object_detection_model_version property of this AnalyzeImageResult. :type object_detection_model_version: str :param text_detection_model_version: The value to assign to the text_detection_model_version property of this AnalyzeImageResult. :type text_detection_model_version: str :param face_detection_model_version: The value to assign to the face_detection_model_version property of this AnalyzeImageResult. :type face_detection_model_version: str :param errors: The value to assign to the errors property of this AnalyzeImageResult. :type errors: list[oci.ai_vision.models.ProcessingError] """ self.swagger_types = { 'image_objects': 'list[ImageObject]', 'labels': 'list[Label]', 'ontology_classes': 'list[OntologyClass]', 'image_text': 'ImageText', 'detected_faces': 'list[Face]', 'image_classification_model_version': 'str', 'object_detection_model_version': 'str', 'text_detection_model_version': 'str', 'face_detection_model_version': 'str', 'errors': 'list[ProcessingError]' } self.attribute_map = { 'image_objects': 'imageObjects', 'labels': 'labels', 'ontology_classes': 'ontologyClasses', 'image_text': 'imageText', 'detected_faces': 'detectedFaces', 'image_classification_model_version': 'imageClassificationModelVersion', 'object_detection_model_version': 'objectDetectionModelVersion', 'text_detection_model_version': 'textDetectionModelVersion', 'face_detection_model_version': 'faceDetectionModelVersion', 'errors': 'errors' } self._image_objects = None self._labels = None self._ontology_classes = None self._image_text = None self._detected_faces = None self._image_classification_model_version = None self._object_detection_model_version = None self._text_detection_model_version = None self._face_detection_model_version = None self._errors = None @property def image_objects(self): """ Gets the image_objects of this AnalyzeImageResult. The detected objects. :return: The image_objects of this AnalyzeImageResult. :rtype: list[oci.ai_vision.models.ImageObject] """ return self._image_objects @image_objects.setter def image_objects(self, image_objects): """ Sets the image_objects of this AnalyzeImageResult. The detected objects. :param image_objects: The image_objects of this AnalyzeImageResult. :type: list[oci.ai_vision.models.ImageObject] """ self._image_objects = image_objects @property def labels(self): """ Gets the labels of this AnalyzeImageResult. The image classification labels. :return: The labels of this AnalyzeImageResult. :rtype: list[oci.ai_vision.models.Label] """ return self._labels @labels.setter def labels(self, labels): """ Sets the labels of this AnalyzeImageResult. The image classification labels. :param labels: The labels of this AnalyzeImageResult. :type: list[oci.ai_vision.models.Label] """ self._labels = labels @property def ontology_classes(self): """ Gets the ontology_classes of this AnalyzeImageResult. The ontologyClasses of image labels. :return: The ontology_classes of this AnalyzeImageResult. :rtype: list[oci.ai_vision.models.OntologyClass] """ return self._ontology_classes @ontology_classes.setter def ontology_classes(self, ontology_classes): """ Sets the ontology_classes of this AnalyzeImageResult. The ontologyClasses of image labels. :param ontology_classes: The ontology_classes of this AnalyzeImageResult. :type: list[oci.ai_vision.models.OntologyClass] """ self._ontology_classes = ontology_classes @property def image_text(self): """ Gets the image_text of this AnalyzeImageResult. :return: The image_text of this AnalyzeImageResult. :rtype: oci.ai_vision.models.ImageText """ return self._image_text @image_text.setter def image_text(self, image_text): """ Sets the image_text of this AnalyzeImageResult. :param image_text: The image_text of this AnalyzeImageResult. :type: oci.ai_vision.models.ImageText """ self._image_text = image_text @property def detected_faces(self): """ Gets the detected_faces of this AnalyzeImageResult. The detected faces. :return: The detected_faces of this AnalyzeImageResult. :rtype: list[oci.ai_vision.models.Face] """ return self._detected_faces @detected_faces.setter def detected_faces(self, detected_faces): """ Sets the detected_faces of this AnalyzeImageResult. The detected faces. :param detected_faces: The detected_faces of this AnalyzeImageResult. :type: list[oci.ai_vision.models.Face] """ self._detected_faces = detected_faces @property def image_classification_model_version(self): """ Gets the image_classification_model_version of this AnalyzeImageResult. The image classification model version. :return: The image_classification_model_version of this AnalyzeImageResult. :rtype: str """ return self._image_classification_model_version @image_classification_model_version.setter def image_classification_model_version(self, image_classification_model_version): """ Sets the image_classification_model_version of this AnalyzeImageResult. The image classification model version. :param image_classification_model_version: The image_classification_model_version of this AnalyzeImageResult. :type: str """ self._image_classification_model_version = image_classification_model_version @property def object_detection_model_version(self): """ Gets the object_detection_model_version of this AnalyzeImageResult. The object detection model version. :return: The object_detection_model_version of this AnalyzeImageResult. :rtype: str """ return self._object_detection_model_version @object_detection_model_version.setter def object_detection_model_version(self, object_detection_model_version): """ Sets the object_detection_model_version of this AnalyzeImageResult. The object detection model version. :param object_detection_model_version: The object_detection_model_version of this AnalyzeImageResult. :type: str """ self._object_detection_model_version = object_detection_model_version @property def text_detection_model_version(self): """ Gets the text_detection_model_version of this AnalyzeImageResult. The text detection model version. :return: The text_detection_model_version of this AnalyzeImageResult. :rtype: str """ return self._text_detection_model_version @text_detection_model_version.setter def text_detection_model_version(self, text_detection_model_version): """ Sets the text_detection_model_version of this AnalyzeImageResult. The text detection model version. :param text_detection_model_version: The text_detection_model_version of this AnalyzeImageResult. :type: str """ self._text_detection_model_version = text_detection_model_version @property def face_detection_model_version(self): """ Gets the face_detection_model_version of this AnalyzeImageResult. The face detection model version. :return: The face_detection_model_version of this AnalyzeImageResult. :rtype: str """ return self._face_detection_model_version @face_detection_model_version.setter def face_detection_model_version(self, face_detection_model_version): """ Sets the face_detection_model_version of this AnalyzeImageResult. The face detection model version. :param face_detection_model_version: The face_detection_model_version of this AnalyzeImageResult. :type: str """ self._face_detection_model_version = face_detection_model_version @property def errors(self): """ Gets the errors of this AnalyzeImageResult. The errors encountered during image analysis. :return: The errors of this AnalyzeImageResult. :rtype: list[oci.ai_vision.models.ProcessingError] """ return self._errors @errors.setter def errors(self, errors): """ Sets the errors of this AnalyzeImageResult. The errors encountered during image analysis. :param errors: The errors of this AnalyzeImageResult. :type: list[oci.ai_vision.models.ProcessingError] """ self._errors = errors def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other