Class ImageContext (3.0.0)

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

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
NameDescription
otherImageContext

Properties

CropHintsParams

public CropHintsParams CropHintsParams { get; set; }

Parameters for crop hints annotation request.

Property Value
TypeDescription
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
TypeDescription
RepeatedField<String>

LatLongRect

public LatLongRect LatLongRect { get; set; }

Not used.

Property Value
TypeDescription
LatLongRect

ProductSearchParams

public ProductSearchParams ProductSearchParams { get; set; }

Parameters for product search.

Property Value
TypeDescription
ProductSearchParams

TextDetectionParams

public TextDetectionParams TextDetectionParams { get; set; }

Parameters for text detection and document text detection.

Property Value
TypeDescription
TextDetectionParams

WebDetectionParams

public WebDetectionParams WebDetectionParams { get; set; }

Parameters for web detection.

Property Value
TypeDescription
WebDetectionParams