Accessory Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.Accessory

public class Accessory

Accessory item and corresponding confidence level.

Method Summary

Modifier and Type Method and Description
double confidence()

Get the confidence value.

AccessoryType type()

Get the type value.

Accessory withConfidence(double confidence)

Set the confidence value.

Accessory withType(AccessoryType type)

Set the type value.

Method Details

confidence

public double confidence()

Get the confidence value.

Returns:

the confidence value

type

public AccessoryType type()

Get the type value.

Returns:

the type value

withConfidence

public Accessory withConfidence(double confidence)

Set the confidence value.

Parameters:

confidence - the confidence value to set

Returns:

the Accessory object itself.

withType

public Accessory withType(AccessoryType type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the Accessory object itself.

Applies to