From 59487067737cdbb860ed62e8cb939af338fe5374 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Fri, 28 Jan 2022 12:02:39 +0100 Subject: [PATCH] fix: use camera preview --- camera/depthai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera/depthai.py b/camera/depthai.py index d3573d3..d6e702c 100644 --- a/camera/depthai.py +++ b/camera/depthai.py @@ -37,7 +37,7 @@ class FramePublisher: cam_rgb.setFps(30) # Linking - cam_rgb.video.link(xout_rgb.input) + cam_rgb.preview.link(xout_rgb.input) logger.info("pipeline configured") return pipeline