getLeftEyeOpening method
Gets the value estimating the opening of the left eye. -1 if not computed. The range is 0-100, 100 meaning the eye is fully opened.
return Value estimating the opening of the left eye. -1 if not computed. The range is 0-100, 100 meaning the eye is fully opened. throws FaceException An error has occurred during Face Library execution.
Implementation
int getLeftEyeOpening() {
Pointer<Int> pLeftEyeOpening = calloc();
try {
var err = faceSDK.id3FacePortrait_GetLeftEyeOpening(_pHandle.value, pLeftEyeOpening);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vLeftEyeOpening = pLeftEyeOpening.value;
return vLeftEyeOpening;
} finally {
calloc.free(pLeftEyeOpening);
}
}