TrackedFace.rescale Method

Module: TrackedFace

Definition

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.

void rescale(double scale)

Parameters

scale double
in The multiplicative rescaling factor to apply to the face object.

Exceptions

An error has occurred during Face Library execution.