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