Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# FaceError Enumeration

Namespace: id3.Face

## Definition

Enumerates the possible error codes returned by this SDK.
Python

    class FaceError

Dart

    enum FaceError

C#

    public enum FaceError

Java

    public enum FaceError

Swift

    public enum FaceError

C

    typedef enum id3FaceError

## Fields

Name | Value | Description
--- | --- | ---
`success` | 0 | No error.
`insufficientBuffer` | -1 | The given buffer is too small.
`objectDoesNotExist` | -2 | The requested object does not exist; a ‘null’ should be returned if possible.
`base` | -1000 | Base error code of the Face module.
`minimum` | -1999 | Minimum error code of the Face module.
`invalidHandle` | -1001 | The handle is invalid.
`invalidParameter` | -1002 | The parameter is invalid.
`invalidPixelFormat` | -1004 | The image pixel format is invalid.
`invalidTemplateFormat` | -1005 | The template format is invalid.
`invalidLandmarks` | -1006 | The computed landmarks are invalid and do not allow to process the desired information.
`iodTooSmall` | -1007 | The computed interocular distance (IOD) is too small to allow to process the desired information.
`invalidModelPath` | -1008 | The model could not be found in the given directory path.
`invalidImageSize` | -1010 | The input image size is invalid for this operation.
`unloadedModel` | -1020 | The model which is required for this operation was not loaded.
`inferenceBackendError` | -1040 | The inference backend failed to infer, probably due to inconsistent input.
`processingUnitUnavailable` | -1041 | The requested processing unit is not available in this build.
`indexerAlreadyInitialized` | -1050 | The face indexer object is already initialized.
`indexerIdAlreadyExists` | -1051 | The requested id already exists in the Face Indexer object.
`indexerInvalidTemplateData` | -1052 | The data of the template is corrupted and cannot be added to the Face Indexer object.
`indexerFull` | -1053 | Maximum template number of the Face Indexer object has been reached.
`indexerIdNotFound` | -1054 | No template with this id has been found in the Face Indexer object.
`indexerInvalidIndexFile` | -1055 | This index file is not valid and cannot be loaded.
`functionNotImplemented` | -1056 | This function is not implemented.