Google Cloud Vision v1 API - Class ImageContext (3.6.0)

public sealed class ImageContext : IMessage<ImageContext>, IEquatable<ImageContext>, IDeepCloneable<ImageContext>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Vision v1 API class ImageContext.

Image context and/or feature-specific parameters.

Inheritance

object > ImageContext

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

ImageContext()

public ImageContext()

ImageContext(ImageContext)

public ImageContext(ImageContext other)
Parameter
Name Description
other ImageContext

Properties

CropHintsParams

public CropHintsParams CropHintsParams { get; set; }

Parameters for crop hints annotation request.

Property Value
Type Description
CropHintsParams

LanguageHints

public RepeatedField<string> LanguageHints { get; }

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.

Property Value
Type Description
RepeatedFieldstring

LatLongRect

public LatLongRect LatLongRect { get; set; }

Not used.

Property Value
Type Description
LatLongRect

ProductSearchParams

public ProductSearchParams ProductSearchParams { get; set; }

Parameters for product search.

Property Value
Type Description
ProductSearchParams

TextDetectionParams

public TextDetectionParams TextDetectionParams { get; set; }

Parameters for text detection and document text detection.

Property Value
Type Description
TextDetectionParams

WebDetectionParams

public WebDetectionParams WebDetectionParams { get; set; }

Parameters for web detection.

Property Value
Type Description
WebDetectionParams