public interface FaceObjects extends NamedObjects<FaceObject>
FaceObjects
.Modifier and Type | Method and Description |
---|---|
void |
addFaceObject(@NotNull java.lang.String faceName,
@NotNull java.lang.String originalFilename,
int offset,
int size)
Adds a new face object.
|
boolean |
isIncludeFaceNumbers()
Returns whether the images file contains face numbers.
|
@NotNull FaceProvider |
loadFacesCollection(@NotNull ErrorView errorView,
@NotNull java.io.File collectedDirectory)
Loads all faces from a png collection file.
|
containsKey, get, getName, getTreeRoot, iterator, size
@NotNull @NotNull FaceProvider loadFacesCollection(@NotNull @NotNull ErrorView errorView, @NotNull @NotNull java.io.File collectedDirectory)
errorView
- the error view for reporting errorscollectedDirectory
- directory to load fromvoid addFaceObject(@NotNull @NotNull java.lang.String faceName, @NotNull @NotNull java.lang.String originalFilename, int offset, int size) throws DuplicateFaceException, IllegalFaceException
faceName
- the name of the face, e.g. "robe.101"originalFilename
- the original filename, e.g.
"arch/objects/misc/robe.101.png"offset
- the offset in the file denoted by actualFilename
,
e.g. 148676size
- the size in the file denoted by actualFilename
, e.g.
567,DuplicateFaceException
- in case the face was not uniqueIllegalFaceException
- if the face cannot be addedboolean isIncludeFaceNumbers()