public static enum FaceException.Status extends java.lang.Enum<FaceException.Status>
Modifier and Type | Method and Description |
---|---|
static FaceException.Status |
fromCode(int code) |
int |
getCode() |
static FaceException.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FaceException.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceException.Status FACE_TOO_CLOSE
public static final FaceException.Status FACE_CLOSE_TO_BORDER
public static final FaceException.Status FACE_CROPPED
public static final FaceException.Status FACE_NOT_FOUND
public static final FaceException.Status TOO_MANY_FACES
public static final FaceException.Status FACE_TOO_SMALL
public static final FaceException.Status FACE_ANGLE_TOO_LARGE
public static final FaceException.Status FAILED_TO_READ_IMAGE
public static final FaceException.Status FAILED_TO_WRITE_IMAGE
public static final FaceException.Status FAILED_TO_READ_MODEL
public static final FaceException.Status FAILED_TO_BUILD_INTERPRETER
public static final FaceException.Status FAILED_TO_INVOKE_INTERPRETER
public static final FaceException.Status FAILED_TO_ALLOCATE
public static final FaceException.Status INVALID_CONFIG
public static final FaceException.Status NO_SUCH_OBJECT_IN_BUILD
public static final FaceException.Status FAILED_TO_PREPROCESS_IMAGE_WHILE_PREDICT
public static final FaceException.Status FAILED_TO_PREPROCESS_IMAGE_WHILE_DETECT
public static final FaceException.Status FAILED_TO_PREDICT_LANDMARKS
public static final FaceException.Status INVALID_FUSE_MODE
public static final FaceException.Status NULLPTR
public static final FaceException.Status LICENSE_ERROR
public static final FaceException.Status INVALID_META
public static final FaceException.Status UNKNOWN
public static final FaceException.Status OK
public static final FaceException.Status FACE_IS_OCCLUDED
public static final FaceException.Status FAILED_TO_FETCH_COREML_DECRYPTION_KEY
public static final FaceException.Status EYES_CLOSED
public static FaceException.Status[] values()
for (FaceException.Status c : FaceException.Status.values()) System.out.println(c);
public static FaceException.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public static FaceException.Status fromCode(int code)