Tracker object tracks persons in the video stream and collects faces of the same person in one track.
More...
#include <face_sdk_tracker.h>
Tracker object tracks persons in the video stream and collects faces of the same person in one track.
Use face_sdk__make_tracker() functions to instantiate an object of this type.
- Warning
- This module uses face detector module (see Face detector), so make sure that your license allows to use face detector. See Licensing.
Usage scenario:
- Call one of face_sdk__make_tracker() function to get a face_sdk__tracker instance. This requires implementing callback functions.
- Call face_sdk__tracker__make_stream(uint32_t) and get a face_sdk__video_stream object for each video to be processed
- Decode video and push any number of frames into face_sdk__video_stream. Call face_sdk__video_stream::push_frame(const face_sdk__video_frame_t *)
- Call face_sdk__tracker__commit_frames() - all pushed frames will be processed in batch. All events will be raised. repeat steps 3 and 4 until a video is ended
- Call face_sdk__tracker__free_stream() for each ended video stream
The documentation for this struct was generated from the following file: