Interface FaceRecognitionParamsOrBuilder (3.1.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the celebritySet.