Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
face_sdk__tracker Struct Reference

Tracker object tracks persons in the video stream and collects faces of the same person in one track. More...

#include <face_sdk_tracker.h>

Detailed Description

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:

  1. Call one of face_sdk__make_tracker() function to get a face_sdk__tracker instance. This requires implementing callback functions.
  2. Call face_sdk__tracker__make_stream(uint32_t) and get a face_sdk__video_stream object for each video to be processed
  3. 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 *)
  4. 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
  5. Call face_sdk__tracker__free_stream() for each ended video stream

The documentation for this struct was generated from the following file: