FaceTracker.trackFaces Method¶
Module: FaceTracker
Definition¶
Tracks faces in an image and update their info in a TrackedFaceList object.
The algorithm searches for faces in the range [16px;512px]. If the image is too large to fit this range, one must resize it before the tracking process.
In a realtime process, one must use this function to keep the face IDs stable in time.
Important
Loading a face detector and a face encoder model is required to use this function.
track_faces(self, image: Image, tracked_face_list: TrackedFaceList) -> None
Parameters
Exceptions
An error has occurred during Face Library execution.
void trackFaces(Image image, TrackedFaceList trackedFaceList)
Parameters
Exceptions
An error has occurred during Face Library execution.
public void TrackFaces(Image image, TrackedFaceList trackedFaceList)
Parameters
Exceptions
An error has occurred during Face Library execution.
public void trackFaces(Image image, TrackedFaceList trackedFaceList) throws FaceException
Parameters
Exceptions
An error has occurred during Face Library execution.
public func trackFaces(image: Image, trackedFaceList: TrackedFaceList) throws
Parameters
Exceptions
An error has occurred during Face Library execution.
int id3FaceTracker_TrackFaces (
ID3_FACE_TRACKER hFaceTracker,
ID3_FACE_IMAGE hImage,
ID3_TRACKED_FACE_LIST hTrackedFaceList)
Parameters
hFaceTracker
ID3_FACE_TRACKERin Handle to the FaceTracker object.hImage
ID3_FACE_IMAGEin Source image to process.hTrackedFaceList
ID3_TRACKED_FACE_LISTin List of tracked faces.
Returns