mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
d/dai: With the latest depthai-core we can support color OV9782 sensors
This commit is contained in:
parent
4814f627c6
commit
00c3cc4c2f
|
@ -563,7 +563,6 @@ static void
|
||||||
depthai_setup_monocular_pipeline(struct depthai_fs *depthai, enum depthai_camera_type camera_type)
|
depthai_setup_monocular_pipeline(struct depthai_fs *depthai, enum depthai_camera_type camera_type)
|
||||||
{
|
{
|
||||||
switch (camera_type) {
|
switch (camera_type) {
|
||||||
#if 0
|
|
||||||
case (RGB_OV_9782):
|
case (RGB_OV_9782):
|
||||||
depthai->width = 1280;
|
depthai->width = 1280;
|
||||||
depthai->height = 800;
|
depthai->height = 800;
|
||||||
|
@ -574,7 +573,6 @@ depthai_setup_monocular_pipeline(struct depthai_fs *depthai, enum depthai_camera
|
||||||
depthai->interleaved = true;
|
depthai->interleaved = true;
|
||||||
depthai->color_order = dai::ColorCameraProperties::ColorOrder::RGB;
|
depthai->color_order = dai::ColorCameraProperties::ColorOrder::RGB;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case (RGB_IMX_378):
|
case (RGB_IMX_378):
|
||||||
depthai->width = 1920;
|
depthai->width = 1920;
|
||||||
depthai->height = 1080;
|
depthai->height = 1080;
|
||||||
|
|
Loading…
Reference in a new issue