Class ImageContext (2.4.4)

ImageContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Image context and/or feature-specific parameters. .. attribute:: lat_long_rect

Not used.

:type: google.cloud.vision_v1p4beta1.types.LatLongRect

Attributes

NameDescription
language_hints Sequence[str]
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
crop_hints_params google.cloud.vision_v1p4beta1.types.CropHintsParams
Parameters for crop hints annotation request.
face_recognition_params google.cloud.vision_v1p4beta1.types.FaceRecognitionParams
Parameters for face recognition.
product_search_params google.cloud.vision_v1p4beta1.types.ProductSearchParams
Parameters for product search.
web_detection_params google.cloud.vision_v1p4beta1.types.WebDetectionParams
Parameters for web detection.
text_detection_params google.cloud.vision_v1p4beta1.types.TextDetectionParams
Parameters for text detection and document text detection.