Interface FaceRecognitionResultOrBuilder (3.15.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
TypeDescription
Celebrity

The celebrity.

getCelebrityOrBuilder()

public abstract CelebrityOrBuilder getCelebrityOrBuilder()

The Celebrity that this face was matched to.

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

Returns
TypeDescription
CelebrityOrBuilder

getConfidence()

public abstract float getConfidence()

Recognition confidence. Range [0, 1].

float confidence = 2;

Returns
TypeDescription
float

The confidence.

hasCelebrity()

public abstract boolean hasCelebrity()

The Celebrity that this face was matched to.

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

Returns
TypeDescription
boolean

Whether the celebrity field is set.