ImageTextDetectionFeature¶
- class oci.ai_vision.models.ImageTextDetectionFeature(**kwargs)¶
Bases:
ImageFeatureThe text detection parameters.
Attributes:
A constant which can be used with the feature_type property of a ImageFeature.
A constant which can be used with the feature_type property of a ImageFeature.
A constant which can be used with the feature_type property of a ImageFeature.
A constant which can be used with the feature_type property of a ImageFeature.
A constant which can be used with the feature_type property of a ImageFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
A constant which can be used with the language property of a ImageTextDetectionFeature.
[Required] Gets the feature_type of this ImageFeature.
Gets the language of this ImageTextDetectionFeature.
Methods:
__init__(**kwargs)Initializes a new ImageTextDetectionFeature 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 ImageFeature. This constant has a value of “FACE_DETECTION”
- FEATURE_TYPE_FACE_EMBEDDING = 'FACE_EMBEDDING'¶
A constant which can be used with the feature_type property of a ImageFeature. This constant has a value of “FACE_EMBEDDING”
- FEATURE_TYPE_IMAGE_CLASSIFICATION = 'IMAGE_CLASSIFICATION'¶
A constant which can be used with the feature_type property of a ImageFeature. This constant has a value of “IMAGE_CLASSIFICATION”
- FEATURE_TYPE_OBJECT_DETECTION = 'OBJECT_DETECTION'¶
A constant which can be used with the feature_type property of a ImageFeature. This constant has a value of “OBJECT_DETECTION”
- FEATURE_TYPE_TEXT_DETECTION = 'TEXT_DETECTION'¶
A constant which can be used with the feature_type property of a ImageFeature. This constant has a value of “TEXT_DETECTION”
- LANGUAGE_ARA = 'ARA'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “ARA”
- LANGUAGE_CES = 'CES'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “CES”
- LANGUAGE_CHI_SIM = 'CHI_SIM'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “CHI_SIM”
- LANGUAGE_DAN = 'DAN'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “DAN”
- LANGUAGE_DEU = 'DEU'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “DEU”
- LANGUAGE_ELL = 'ELL'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “ELL”
- LANGUAGE_ENG = 'ENG'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “ENG”
- LANGUAGE_FIN = 'FIN'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “FIN”
- LANGUAGE_FRA = 'FRA'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “FRA”
- LANGUAGE_HIN = 'HIN'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “HIN”
- LANGUAGE_HUN = 'HUN'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “HUN”
- LANGUAGE_ITA = 'ITA'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “ITA”
- LANGUAGE_JPN = 'JPN'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “JPN”
- LANGUAGE_KOR = 'KOR'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “KOR”
- LANGUAGE_NLD = 'NLD'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “NLD”
- LANGUAGE_NOR = 'NOR'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “NOR”
- LANGUAGE_OTHERS = 'OTHERS'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “OTHERS”
- LANGUAGE_POL = 'POL'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “POL”
- LANGUAGE_POR = 'POR'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “POR”
- LANGUAGE_RON = 'RON'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “RON”
- LANGUAGE_RUS = 'RUS'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “RUS”
- LANGUAGE_SLK = 'SLK'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “SLK”
- LANGUAGE_SPA = 'SPA'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “SPA”
- LANGUAGE_SWE = 'SWE'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “SWE”
- LANGUAGE_TUR = 'TUR'¶
A constant which can be used with the language property of a ImageTextDetectionFeature. This constant has a value of “TUR”
- __init__(**kwargs)¶
Initializes a new ImageTextDetectionFeature object with values from keyword arguments. The default value of the
feature_typeattribute of this class isTEXT_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 ImageTextDetectionFeature. 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’.
language (str) – The value to assign to the language property of this ImageTextDetectionFeature. Allowed values for this property are: “ENG”, “CES”, “DAN”, “NLD”, “FIN”, “FRA”, “DEU”, “ELL”, “HUN”, “ITA”, “NOR”, “POL”, “POR”, “RON”, “RUS”, “SLK”, “SPA”, “SWE”, “TUR”, “ARA”, “CHI_SIM”, “HIN”, “JPN”, “KOR”, “OTHERS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property 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.
- property language¶
Gets the language of this ImageTextDetectionFeature. The language of the document image, abbreviated according to ISO 639-2.
Allowed values for this property are: “ENG”, “CES”, “DAN”, “NLD”, “FIN”, “FRA”, “DEU”, “ELL”, “HUN”, “ITA”, “NOR”, “POL”, “POR”, “RON”, “RUS”, “SLK”, “SPA”, “SWE”, “TUR”, “ARA”, “CHI_SIM”, “HIN”, “JPN”, “KOR”, “OTHERS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The language of this ImageTextDetectionFeature.
- Return type
str