Google Cloud Vision v1 API - Class Feature (3.7.0)

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

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

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
int

Model

public string Model { get; set; }

Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". DOCUMENT_TEXT_DETECTION and TEXT_DETECTION also support "builtin/weekly" for the bleeding edge release updated weekly.

Property Value
Type Description
string

Type

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

The feature type.

Property Value
Type Description
FeatureTypesType