From 4aacf900407fcb95fc6fb39f264d9dd23b4cb226 Mon Sep 17 00:00:00 2001 From: zrezke Date: Fri, 1 Mar 2024 13:19:06 +0100 Subject: [PATCH 1/3] Improved reporting of camera features. Added calibrationResolution and added fov rect to CameraSensorConfig --- depthai-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depthai-core b/depthai-core index 47e7b5c21..1b8a45948 160000 --- a/depthai-core +++ b/depthai-core @@ -1 +1 @@ -Subproject commit 47e7b5c21206a4b4e31b331807fffd178b284166 +Subproject commit 1b8a4594892b74c0b0cb39402d8fdb3adc15fe94 From 5db87e5d109c8fcbebe1908b3a7541e638f3fdd8 Mon Sep 17 00:00:00 2001 From: zrezke Date: Fri, 1 Mar 2024 13:50:08 +0100 Subject: [PATCH 2/3] Added bindings for calibrationResolution and fov field in CameraSensorConfig --- depthai-core | 2 +- src/pipeline/CommonBindings.cpp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/depthai-core b/depthai-core index 1b8a45948..ed039e208 160000 --- a/depthai-core +++ b/depthai-core @@ -1 +1 @@ -Subproject commit 1b8a4594892b74c0b0cb39402d8fdb3adc15fe94 +Subproject commit ed039e208856f670fb2da660fc0191e2f21ac949 diff --git a/src/pipeline/CommonBindings.cpp b/src/pipeline/CommonBindings.cpp index df5469a8a..3aa29751c 100644 --- a/src/pipeline/CommonBindings.cpp +++ b/src/pipeline/CommonBindings.cpp @@ -229,6 +229,7 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){ .def_readwrite("hasAutofocusIC", &CameraFeatures::hasAutofocusIC) .def_readwrite("name", &CameraFeatures::name) .def_readwrite("configs", &CameraFeatures::configs) + .def_readwrite("calibrationResolution", &CameraFeatures::calibrationResolution) .def("__repr__", [](CameraFeatures& camera) { std::stringstream stream; stream << camera; @@ -244,6 +245,12 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){ .def_readwrite("minFps", &CameraSensorConfig::minFps) .def_readwrite("maxFps", &CameraSensorConfig::maxFps) .def_readwrite("type", &CameraSensorConfig::type) + .def_readwrite("fov", &CameraSensorConfig::fov) + .def("__repr__", [](CameraSensorConfig& config) { + std::stringstream stream; + stream << config; + return stream.str(); + }) ; // MemoryInfo From 3cc9525b890ced87d7083ee2b6e6dc0ed27ca042 Mon Sep 17 00:00:00 2001 From: zrezke Date: Mon, 4 Mar 2024 21:49:59 +0100 Subject: [PATCH 3/3] Point to develop --- depthai-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depthai-core b/depthai-core index ed039e208..f2c83a13f 160000 --- a/depthai-core +++ b/depthai-core @@ -1 +1 @@ -Subproject commit ed039e208856f670fb2da660fc0191e2f21ac949 +Subproject commit f2c83a13f0fed5b34dcc907c49da080fea675776