Class Feature

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

The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.

Inheritance

Object > Feature

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

Feature()

public Feature()

Feature(Feature)

public Feature(Feature other)
Parameter
TypeNameDescription
Featureother

Properties

MaxResults

public int MaxResults { get; set; }

Maximum number of results of this type. Does not apply to TEXT_DETECTION, DOCUMENT_TEXT_DETECTION, or CROP_HINTS.

Property Value
TypeDescription
Int32

Model

public string Model { get; set; }

Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Property Value
TypeDescription
String

Type

public Feature.Types.Type Type { get; set; }

The feature type.

Property Value
TypeDescription
Feature.Types.Type