From 00c3cc4c2fa97ae082bac06257d1618f11d3f23f Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 2 Oct 2022 15:18:35 +0100 Subject: [PATCH] d/dai: With the latest depthai-core we can support color OV9782 sensors --- src/xrt/drivers/depthai/depthai_driver.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xrt/drivers/depthai/depthai_driver.cpp b/src/xrt/drivers/depthai/depthai_driver.cpp index 2cb347faf..f0511a40e 100644 --- a/src/xrt/drivers/depthai/depthai_driver.cpp +++ b/src/xrt/drivers/depthai/depthai_driver.cpp @@ -563,7 +563,6 @@ static void depthai_setup_monocular_pipeline(struct depthai_fs *depthai, enum depthai_camera_type camera_type) { switch (camera_type) { -#if 0 case (RGB_OV_9782): depthai->width = 1280; depthai->height = 800; @@ -574,7 +573,6 @@ depthai_setup_monocular_pipeline(struct depthai_fs *depthai, enum depthai_camera depthai->interleaved = true; depthai->color_order = dai::ColorCameraProperties::ColorOrder::RGB; break; -#endif case (RGB_IMX_378): depthai->width = 1920; depthai->height = 1080;