getImageScale method
Gets the scale to be applied to the source image to display the portrait.
return Scale to be applied to the source image to display the portrait. throws FaceException An error has occurred during Face Library execution.
Implementation
double getImageScale() {
Pointer<Float> pImageScale = calloc();
try {
var err = faceSDK.id3FacePortrait_GetImageScale(_pHandle.value, pImageScale);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vImageScale = pImageScale.value;
return vImageScale;
} finally {
calloc.free(pImageScale);
}
}