Error Codes
A zero indicates successful completion and a non-zero value indicates an error.
Error Codes
Code |
Name / Description |
---|---|
0 |
|
No errors or warnings. |
|
1 |
|
An internal error occurred. |
|
2 |
|
The preface object was NULL. |
|
3 |
|
The trial expiration has passed. |
|
100 |
|
The library failed to allocate memory. |
|
200 |
|
The handle to the detection configuration was invalid. |
|
201 |
|
The face detection mode specified was an invalid value. |
|
202 |
|
The minimum size specified must be between 0.0 and 1.0. |
|
203 |
|
The maximum size specified must be greater than 0.0 and less than or equal to 1.0. |
|
204 |
|
The minimum size must be less than the maximum size specified. |
|
205 |
|
The granularity specified must be greater than 0.0 and less than or equal to 1.0. |
|
206 |
|
The sensitivity specified must be greater than 0.0 and less than or equal to 1.0. |
|
300 |
|
The image specified was invalid. It contained no data. |
|
301 |
|
The image’s width was invalid. It must be a positive, non-zero number. |
|
302 |
|
The image’s height was invalid. It must be a positive, non-zero number. |
|
303 |
|
The image’s stride was invalid. It must be a positive, non-zero number. The stride multiplied by the height must match the total size of the raw image data. |
|
304 |
|
The image format specified was invalid. |
|
400 |
|
The handle to the face object was invalid. |
|
401 |
|
The metric specified was an invalid value. |
|
402 |
|
The face feature specified was an invalid value. |
|
500 |
|
The handle to the profile object was invalid. |
|
501 |
|
The XML buffer specified was empty or could not be read. |
|
502 |
|
The XML version specified was invalid. |
|
503 |
|
The XML contains a Metric name that is invalid. Please see the Metrics section for a list of valid Metric names. |
|
504 |
|
The XML contains Metric elements with invalid values. Please run the profile xml through the Validate Profile function for details. PreFace 6 Profiles cannot be validated with PreFace 7. |
|
505 |
|
The profile specified cannot be used to perform this function. Please see the function description for necessary profile requirements. |
|
506 |
|
The requestion operation cannot be performed with a PreFace 6 Profile. Only PreFace 7 Profiles can be used with this function. |
|
550 |
|
The handle to the profile error object was invalid. |
|
600 |
|
The handle to the compliance result object was invalid. |
|
650 |
|
The handle to the metric status object was invalid. |
|
700 |
|
The handle to the autocapture object was invalid. |
|
701 |
|
The compliant frame count was invalid. It must be a positive, non-zero number. |
|
702 |
|
The capture width must be a positive, non-zero number. |
|
703 |
|
The capture height must be a positive, non-zero number. |
|
800 |
|
The handle to the construction config object was invalid. |
|
801 |
|
The padding type specified is invalid. |
|
802 |
|
The image property specified is invalid. |
|
803 |
|
The value for the image property specified is invalid. Please see the image property enumeration in the documentation for valid values. |
|
820 |
|
821 |
|
Construction could not be performed due to an invalid construction config set up. When using the JPEG image format, the JPEG_QUALITY image property must be set to a valid value. |
|
822 |
|
Construction could not be performed due to an invalid construction config set up. When using the J2K image format, either the FILE_SIZE or J2K_COMPRESSION image property must be set to a valid value. |
|
823 |
|
Construction could not be performed due to an invalid construction config set up. When using the J2K_ROI image format, the FILE_SIZE image property must be set to a valid value. |
|
824 |
|
Construction could not be performed due to an invalid construction config set up. When using the J2K_ROI image format, the J2K_ROI_FOREGROUND_COMPRESSION image property must be set to a valid value. |
|
825 |
|
Construction could not be performed due to an invalid construction config set up. When using the J2K_ROI image format, the J2K_ROI_BACKGROUND_COMPRESSION image property must be set to a valid value. |
|
830 |
|
The image could not be construted with the specified padding ratio. |
|
831 |
|
The profile specified does not contain any geometric constraints and cannot be used in construction. One or two of the following metrics must be present : image_aspect_ratio, image_width, or image_height. |
|
832 |
|
The profile specified contains too many geometric constraints and cannot be used in construction. One or two of the following metrics must be removed : image_aspect_ratio, image_width, or image_height. |
|
833 |
|
The face and profile specified could not be used to construct an image. There was no way to crop, rotate, or down-scale that would result in a geometrically compliant image. |
|
834 |
|
The face and profile specified could not be used to construct an image. The face’s eye separation is too low to meet the minimum eye separation requirements in the profile. |
|
850 |
|
The handle to the construction result object was invalid. |