Callback-interface for handling tracker events.
More...
#include <face_sdk_tracker.h>
|
virtual void | on_track_appeared (const std::shared_ptr< face_sdk::video_stream > &stream, const std::shared_ptr< face_sdk::track > &track, const std::shared_ptr< face_sdk::video_frame > &frame, const std::shared_ptr< face_sdk::face > &face)=0 |
| Raises when a person has appeared in the stream. More...
|
|
virtual void | on_track_disappeared (const std::shared_ptr< face_sdk::video_stream > &stream, const std::shared_ptr< face_sdk::track > &track)=0 |
| Raises when a person is lost in the stream. More...
|
|
virtual void | on_track_updated (const std::shared_ptr< face_sdk::video_stream > &stream, const std::shared_ptr< face_sdk::track > &track, const std::shared_ptr< face_sdk::video_frame > &frame, const std::shared_ptr< face_sdk::face > &face)=0 |
| Raises when the track object has updated. More...
|
|
virtual void | on_track_best_frame (const std::shared_ptr< face_sdk::video_stream > &stream, const std::shared_ptr< face_sdk::track > &track, const std::shared_ptr< face_sdk::video_frame > &frame, const std::shared_ptr< face_sdk::face > &face)=0 |
|
Callback-interface for handling tracker events.
- Examples
- tracker.cpp.
◆ on_track_appeared()
Raises when a person has appeared in the stream.
- Parameters
-
[in] | stream | The stream where a person has detected |
[in] | track | The track of a person |
[in] | frame | The frame where a person has detected |
[in] | face | The detected face object in the frame |
- Examples
- tracker.cpp.
◆ on_track_disappeared()
Raises when a person is lost in the stream.
- Parameters
-
[in] | stream | The stream where a person is lost |
[in] | track | The track of a person |
- Examples
- tracker.cpp.
◆ on_track_updated()
Raises when the track object has updated.
- Parameters
-
[in] | stream | The stream where the track object has updated |
[in] | track | The updated track |
[in] | frame | The frame where track has updated |
[in] | face | The detected face in the frame |
- Examples
- tracker.cpp.
The documentation for this class was generated from the following file: