Face SDK
1.7 Mozart rc
Face Recognition Software Development Kit
face_sdk_base
video_stream.h
Go to the documentation of this file.
1
3
#ifndef FACE_SDK_VIDEO_STREAM
4
#define FACE_SDK_VIDEO_STREAM
5
6
#include <
face_sdk_base/video_frame.h
>
7
8
namespace
face_sdk
9
{
16
class
video_stream
17
{
18
public
:
19
20
virtual
~
video_stream
() =
default
;
21
24
virtual
uint32_t
stream_id
()
const
= 0;
25
30
virtual
void
push_frame
(
const
std::shared_ptr<face_sdk::video_frame> &frame) = 0;
31
32
};
33
35
}
36
37
#endif
video_frame.h
face_sdk::video_stream
A video stream represents a sequence of frames.
Definition:
video_stream.h:16
face_sdk::video_stream::stream_id
virtual uint32_t stream_id() const =0
Returns stream_id which was passed into face_sdk::liveness_coop::make_stream() or face_sdk::tracker::...
face_sdk::video_stream::push_frame
virtual void push_frame(const std::shared_ptr< face_sdk::video_frame > &frame)=0
Push frame into stream.
Generated by
1.8.17