diff --git a/depthai-core b/depthai-core index f59efaaed..d09239c10 160000 --- a/depthai-core +++ b/depthai-core @@ -1 +1 @@ -Subproject commit f59efaaed8c5cf20d8314e5cacb1877ce616ab7c +Subproject commit d09239c10d7f0baadbea56859ceb35dc1e078544 diff --git a/src/pipeline/CommonBindings.cpp b/src/pipeline/CommonBindings.cpp index 2b52843af..29c64d42a 100644 --- a/src/pipeline/CommonBindings.cpp +++ b/src/pipeline/CommonBindings.cpp @@ -392,6 +392,7 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){ .value("BYPASS", Interpolation::BYPASS) .value("DEFAULT", Interpolation::DEFAULT) .value("DEFAULT_DISPARITY_DEPTH", Interpolation::DEFAULT_DISPARITY_DEPTH) + .value("DEFAULT_STEREO_RECTIFICATION", Interpolation::DEFAULT_STEREO_RECTIFICATION) ; //backward compatibility diff --git a/src/pipeline/node/StereoDepthBindings.cpp b/src/pipeline/node/StereoDepthBindings.cpp index 674a591a7..4bee0ca17 100644 --- a/src/pipeline/node/StereoDepthBindings.cpp +++ b/src/pipeline/node/StereoDepthBindings.cpp @@ -61,6 +61,8 @@ void bind_stereodepth(pybind11::module& m, void* pCallstack){ .def_readwrite("rectificationUseSpecTranslation", &StereoDepthProperties::rectificationUseSpecTranslation, DOC(dai, StereoDepthProperties, rectificationUseSpecTranslation)) .def_readwrite("depthAlignmentUseSpecTranslation", &StereoDepthProperties::depthAlignmentUseSpecTranslation, DOC(dai, StereoDepthProperties, depthAlignmentUseSpecTranslation)) .def_readwrite("alphaScaling", &StereoDepthProperties::alphaScaling, DOC(dai, StereoDepthProperties, alphaScaling)) + .def_readwrite("verticalStereo", &StereoDepthProperties::verticalStereo, DOC(dai, StereoDepthProperties, verticalStereo)) + .def_readwrite("rectificationInterpolation", &StereoDepthProperties::rectificationInterpolation, DOC(dai, StereoDepthProperties, rectificationInterpolation)) ; stereoDepthPresetMode @@ -176,6 +178,8 @@ void bind_stereodepth(pybind11::module& m, void* pCallstack){ .def("setRectificationUseSpecTranslation", &StereoDepth::setRectificationUseSpecTranslation, DOC(dai, node, StereoDepth, setRectificationUseSpecTranslation)) .def("setDepthAlignmentUseSpecTranslation", &StereoDepth::setDepthAlignmentUseSpecTranslation, DOC(dai, node, StereoDepth, setDepthAlignmentUseSpecTranslation)) .def("setAlphaScaling", &StereoDepth::setAlphaScaling, DOC(dai, node, StereoDepth, setAlphaScaling)) + .def("setVerticalStereo", &StereoDepth::setVerticalStereo, DOC(dai, node, StereoDepth, setVerticalStereo)) + .def("setRectificationInterpolation", &StereoDepth::setRectificationInterpolation, DOC(dai, node, StereoDepth, setRectificationInterpolation)) ; // ALIAS daiNodeModule.attr("StereoDepth").attr("Properties") = stereoDepthProperties;