FaceError enum

Enumerates the possible error codes returned by this SDK.

Inheritance

Constructors

FaceError()
const

Values

success → const FaceError

No error.

insufficientBuffer → const FaceError

The given buffer is too small.

objectDoesNotExist → const FaceError

The requested object does not exist; a 'null' should be returned if possible.

base → const FaceError

Base error code of the Face module.

minimum → const FaceError

Minimum error code of the Face module.

invalidHandle → const FaceError

The handle is invalid.

invalidParameter → const FaceError

The parameter is invalid.

invalidPixelFormat → const FaceError

The image pixel format is invalid.

invalidTemplateFormat → const FaceError

The template format is invalid.

invalidLandmarks → const FaceError

The computed landmarks are invalid and do not allow to process the desired information.

iodTooSmall → const FaceError

The computed interocular distance (IOD) is too small to allow to process the desired information.

invalidModelPath → const FaceError

The model could not be found in the given directory path.

invalidImageSize → const FaceError

The input image size is invalid for this operation.

unloadedModel → const FaceError

The model which is required for this operation was not loaded.

inferenceBackendError → const FaceError

The inference backend failed to infer, probably due to inconsistent input.

processingUnitUnavailable → const FaceError

The requested processing unit is not available in this build.

indexerAlreadyInitialized → const FaceError

The face indexer object is already initialized.

indexerIdAlreadyExists → const FaceError

The requested id already exists in the Face Indexer object.

indexerInvalidTemplateData → const FaceError

The data of the template is corrupted and cannot be added to the Face Indexer object.

indexerFull → const FaceError

Maximum template number of the Face Indexer object has been reached.

indexerIdNotFound → const FaceError

No template with this id has been found in the Face Indexer object.

indexerInvalidIndexFile → const FaceError

This index file is not valid and cannot be loaded.

functionNotImplemented → const FaceError

This function is not implemented.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<FaceError>
A constant List of the values in this enum, in order of their declaration.
[success, insufficientBuffer, objectDoesNotExist, base, minimum, invalidHandle, invalidParameter, invalidPixelFormat, invalidTemplateFormat, invalidLandmarks, iodTooSmall, invalidModelPath, invalidIma…