getMinimalIod method
Gets the minimal interocular distance (IOD) in pixels required to perform a face encoding. Hint: Default value is 30 pixels. It is not recommended to change this value. Warning: Reducing the minimal required IOD to encode smaller face images may create unreliable face templates and significantly degrade recognition performances.
return Minimal interocular distance (IOD) in pixels required to perform a face encoding. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMinimalIod() {
Pointer<Int> pMinimalIod = calloc();
try {
var err = faceSDK.id3FaceEncoder_GetMinimalIod(_pHandle.value, pMinimalIod);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMinimalIod = pMinimalIod.value;
return vMinimalIod;
} finally {
calloc.free(pMinimalIod);
}
}