diff --git a/crates/re_viewer/src/depthai/depthai.rs b/crates/re_viewer/src/depthai/depthai.rs index d32f354d3a51..c90b9f8af0ae 100644 --- a/crates/re_viewer/src/depthai/depthai.rs +++ b/crates/re_viewer/src/depthai/depthai.rs @@ -131,6 +131,7 @@ pub enum CameraSensorResolution { THE_1080_P, THE_1200_P, THE_1280_P, + THE_1280X3848, THE_4_K, THE_4000X3000, THE_12_MP, @@ -152,6 +153,7 @@ impl fmt::Display for CameraSensorResolution { Self::THE_1080_P => write!(f, "1080p"), Self::THE_1200_P => write!(f, "1200p"), Self::THE_1280_P => write!(f, "1280p"), + Self::THE_1280X3848 => write!(f, "1280x3848"), Self::THE_4_K => write!(f, "4k"), Self::THE_4000X3000 => write!(f, "4000x3000"), Self::THE_12_MP => write!(f, "12MP"), diff --git a/rerun_py/depthai_viewer/_backend/device_configuration.py b/rerun_py/depthai_viewer/_backend/device_configuration.py index 44b5b55aea3d..97373c4cca12 100644 --- a/rerun_py/depthai_viewer/_backend/device_configuration.py +++ b/rerun_py/depthai_viewer/_backend/device_configuration.py @@ -154,6 +154,7 @@ class CameraSensorResolution(Enum): THE_1080_P: str = "THE_1080_P" THE_1200_P: str = "THE_1200_P" THE_1280_P: str = "THE_1280_P" + THE_1280X3848: str = "THE_1280X3848" THE_4_K: str = "THE_4_K" THE_4000X3000: str = "THE_4000X3000" THE_12_MP: str = "THE_12_MP" @@ -373,6 +374,7 @@ def dict(self, *args, **kwargs) -> Dict[str, Any]: # type: ignore[no-untyped-de (1280, 720): CameraSensorResolution.THE_720_P, (1280, 962): CameraSensorResolution.THE_1280_P, # TOF (1280, 800): CameraSensorResolution.THE_800_P, # OV9782 + (1280, 3848): CameraSensorResolution.THE_1280X3848, # TOF (2592, 1944): CameraSensorResolution.THE_5_MP, # OV5645 (1440, 1080): CameraSensorResolution.THE_1440X1080, (1920, 1080): CameraSensorResolution.THE_1080_P,