FaceTracker.warmUp Method¶
Module: FaceTracker
Definition¶
Gets the face tracker module ready to work on a specific image size by initializing all its internal memory layout.
This function can be called after setting all the parameters of the face detector module if the image size is fixed, for example using frames from a video stream.
Calling this function is not mandatory as the internal memory layout is automatically initialized in the first call to detectFaces() or trackFaces() if missing.
Important
Loading a face detector model is required to use this function. This SDK supports id3 face detectors 3A and 3B.
warm_up(self, image_width: int, image_height: int) -> None
Parameters
image_width
intin Width of the expected image size.image_height
intin Height of expected image size.
Exceptions
An error has occurred during Face Library execution.
void warmUp(int imageWidth, int imageHeight)
Parameters
imageWidth
intin Width of the expected image size.imageHeight
intin Height of expected image size.
Exceptions
An error has occurred during Face Library execution.
public void WarmUp(int imageWidth, int imageHeight)
Parameters
imageWidth
intin Width of the expected image size.imageHeight
intin Height of expected image size.
Exceptions
An error has occurred during Face Library execution.
public void warmUp(int imageWidth, int imageHeight) throws FaceException
Parameters
imageWidth
intin Width of the expected image size.imageHeight
intin Height of expected image size.
Exceptions
An error has occurred during Face Library execution.
public func warmUp(imageWidth: Int32, imageHeight: Int32) throws
Parameters
imageWidth
Int32in Width of the expected image size.imageHeight
Int32in Height of expected image size.
Exceptions
An error has occurred during Face Library execution.
int id3FaceTracker_WarmUp (
ID3_FACE_TRACKER hFaceTracker,
int imageWidth,
int imageHeight)
Parameters
hFaceTracker
ID3_FACE_TRACKERin Handle to the FaceTracker object.imageWidth
intin Width of the expected image size.imageHeight
intin Height of expected image size.
Returns