getMinimumHeadHeightRatio method
Gets the minimum distance between the base of the chin and the crown is less than 80% of the total height of the image. For ICAO compliance, this distance must be in the range 60 to 90. Hint: Default value is 60.
return Minimum distance between the base of the chin and the crown is less than 80% of the total height of the image. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMinimumHeadHeightRatio() {
Pointer<Int> pMinimumHeadHeightRatio = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetMinimumHeadHeightRatio(_pHandle.value, pMinimumHeadHeightRatio);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMinimumHeadHeightRatio = pMinimumHeadHeightRatio.value;
return vMinimumHeadHeightRatio;
} finally {
calloc.free(pMinimumHeadHeightRatio);
}
}