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