setMinimalIod method

void setMinimalIod(
  1. int minimalIod
)

Sets 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.

param minimalIod Minimal interocular distance (IOD) in pixels required to perform a face encoding. throws FaceException An error has occurred during Face Library execution.

Implementation

void setMinimalIod(int minimalIod) {
  var err = faceSDK.id3FaceEncoder_SetMinimalIod(_pHandle.value, minimalIod);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}