共用方式為


Accessory Constructors

Definition

Overloads

Accessory()

Initializes a new instance of the Accessory class.

Accessory(AccessoryType, Double)

Initializes a new instance of the Accessory class.

Accessory()

Source:
Accessory.cs

Initializes a new instance of the Accessory class.

public Accessory ();
Public Sub New ()

Applies to

Accessory(AccessoryType, Double)

Source:
Accessory.cs

Initializes a new instance of the Accessory class.

public Accessory (Microsoft.Azure.CognitiveServices.Vision.Face.Models.AccessoryType type = Microsoft.Azure.CognitiveServices.Vision.Face.Models.AccessoryType.HeadWear, double confidence = 0);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.Accessory : Microsoft.Azure.CognitiveServices.Vision.Face.Models.AccessoryType * double -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.Accessory
Public Sub New (Optional type As AccessoryType = Microsoft.Azure.CognitiveServices.Vision.Face.Models.AccessoryType.HeadWear, Optional confidence As Double = 0)

Parameters

type
AccessoryType

Type of an accessory. Possible values include: 'headWear', 'glasses', 'mask'

confidence
Double

Confidence level of an accessory

Applies to