rescale method

void rescale(
  1. double scale
)

Rescales the detected face object bounding box and landmarks. This function can be useful if the image was downscaled to speed up detection, then you need to upscale the detected face to fit the source image size.

param scale The multiplicative rescaling factor to apply to the face object. throws FaceException An error has occurred during Face Library execution.

Implementation

void rescale(double scale) {
  var err = faceSDK.id3TrackedFace_Rescale(_pHandle.value, scale);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}