Class ImageContext

Image context and/or feature-specific parameters.

Attributes
NameDescription
google.cloud.vision_v1p4beta1.types.LatLongRectlat_long_rect
Not used.
Sequence[str]language_hints
List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting ``language_hints`` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the `supported languages
google.cloud.vision_v1p4beta1.types.CropHintsParamscrop_hints_params
Parameters for crop hints annotation request.
google.cloud.vision_v1p4beta1.types.FaceRecognitionParamsface_recognition_params
Parameters for face recognition.
google.cloud.vision_v1p4beta1.types.ProductSearchParamsproduct_search_params
Parameters for product search.
google.cloud.vision_v1p4beta1.types.WebDetectionParamsweb_detection_params
Parameters for web detection.
google.cloud.vision_v1p4beta1.types.TextDetectionParamstext_detection_params
Parameters for text detection and document text detection.

Inheritance

builtins.object > proto.message.Message > ImageContext