Class VideoDetectorPipeline#
Defined in File yolo_detector.ixx
Nested Relationships#
Nested Types#
Class Documentation#
-
class VideoDetectorPipeline#
Public Functions
-
VideoDetectorPipeline()#
-
~VideoDetectorPipeline()#
-
VideoDetectorPipeline(const VideoDetectorPipeline&) = delete#
-
auto operator=(const VideoDetectorPipeline&) -> VideoDetectorPipeline& = delete#
-
VideoDetectorPipeline(VideoDetectorPipeline&&) noexcept#
-
auto operator=(VideoDetectorPipeline&&) noexcept -> VideoDetectorPipeline&#
-
auto initialize(const VideoDetectionConfig &config) -> std::expected<void, OnnxError>#
-
auto start() -> std::expected<void, gstreamer::GStreamerError>#
-
auto stop() -> std::expected<void, gstreamer::GStreamerError>#
-
auto pause() -> std::expected<void, gstreamer::GStreamerError>#
-
auto set_detection_callback(std::function<void(const DetectionResult&, const gstreamer::BufferInfo&)> callback) -> void#
-
auto set_frame_callback(std::function<void(const gstreamer::BufferInfo&)> callback) -> void#
-
auto is_running() const -> bool#
-
struct Impl#
Public Functions
-
inline void on_frame_received(const gstreamer::BufferInfo &buffer)#
Public Members
-
YoloDetector detector#
-
gstreamer::GStreamerPipeline pipeline#
-
std::function<void(const DetectionResult&, const gstreamer::BufferInfo&)> detection_callback#
-
std::function<void(const gstreamer::BufferInfo&)> frame_callback#
-
std::atomic<bool> running = {false}#
-
VideoDetectionConfig config#
-
inline void on_frame_received(const gstreamer::BufferInfo &buffer)#
-
VideoDetectorPipeline()#