HalfFace.face_sample

HalfFace.face_sample(size=1)[source]

Get the identifiers of a set of random faces.

Parameters:
sizeint, optional

The size of the sample.

Returns:
list[int]

The identifiers of the faces.