Interface FaceRecognitionResultOrBuilder (3.53.0)

public interface FaceRecognitionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCelebrity()

public abstract Celebrity getCelebrity()

The Celebrity that this face was matched to.

.google.cloud.vision.v1p4beta1.Celebrity celebrity = 1;

Returns
Type Description
Celebrity

The celebrity.

getCelebrityOrBuilder()

public abstract CelebrityOrBuilder getCelebrityOrBuilder()

The Celebrity that this face was matched to.

.google.cloud.vision.v1p4beta1.Celebrity celebrity = 1;

Returns
Type Description
CelebrityOrBuilder

getConfidence()

public abstract float getConfidence()

Recognition confidence. Range [0, 1].

float confidence = 2;

Returns
Type Description
float

The confidence.

hasCelebrity()

public abstract boolean hasCelebrity()

The Celebrity that this face was matched to.

.google.cloud.vision.v1p4beta1.Celebrity celebrity = 1;

Returns
Type Description
boolean

Whether the celebrity field is set.