Class Feature (2.5.0)

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
Name Description
other Feature

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
Type Description
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
Type Description
String

Type

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

The feature type.

Property Value
Type Description
Feature.Types.Type