Interface FaceRecognitionParamsOrBuilder (3.44.0)

public interface FaceRecognitionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCelebritySet(int index)

public abstract String getCelebritySet(int index)

The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.

repeated string celebrity_set = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The celebritySet at the given index.

getCelebritySetBytes(int index)

public abstract ByteString getCelebritySetBytes(int index)

The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.

repeated string celebrity_set = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the celebritySet at the given index.

getCelebritySetCount()

public abstract int getCelebritySetCount()

The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.

repeated string celebrity_set = 1;

Returns
Type Description
int

The count of celebritySet.

getCelebritySetList()

public abstract List<String> getCelebritySetList()

The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.

repeated string celebrity_set = 1;

Returns
Type Description
List<String>

A list containing the celebritySet.