Class VideoDetectorPipeline#

Class Documentation#

class VideoDetectorPipeline#

Public Functions

VideoDetectorPipeline()#
~VideoDetectorPipeline()#
VideoDetectorPipeline(const VideoDetectorPipeline&) = delete#
VideoDetectorPipeline &operator=(const VideoDetectorPipeline&) = delete#
VideoDetectorPipeline(VideoDetectorPipeline&&) noexcept#
VideoDetectorPipeline &operator=(VideoDetectorPipeline&&) noexcept#
std::expected<void, OnnxError> initialize(const VideoDetectionConfig &config)#
std::expected<void, gstreamer::GStreamerError> start()#
std::expected<void, gstreamer::GStreamerError> stop()#
std::expected<void, gstreamer::GStreamerError> pause()#
void set_detection_callback(std::function<void(const DetectionResult&, const gstreamer::BufferInfo&)> callback)#
void set_frame_callback(std::function<void(const gstreamer::BufferInfo&)> callback)#
bool is_running() const#