Skip to content

Commit 913a4f3

Browse files
Refactor default interpolation naming
1 parent 4e3af17 commit 913a4f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pipeline/CommonBindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,10 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){
354354
.value("BICUBIC", Interpolation::BICUBIC)
355355
.value("NEAREST_NEIGHBOR", Interpolation::NEAREST_NEIGHBOR)
356356
.value("BYPASS", Interpolation::BYPASS)
357+
.value("DEFAULT", Interpolation::DEFAULT)
358+
.value("DEFAULT_DISPARITY_DEPTH", Interpolation::DEFAULT_DISPARITY_DEPTH)
357359
;
358360

359-
m.attr("DEFAULT_INTERPOLATION") = dai::DEFAULT_INTERPOLATION;
360-
m.attr("DEFAULT_DISPARITY_DEPTH_INTERPOLATION") = dai::DEFAULT_DISPARITY_DEPTH_INTERPOLATION;
361361
//backward compatibility
362362
m.attr("node").attr("Warp").attr("Properties").attr("Interpolation") = interpolation;
363363

0 commit comments

Comments
 (0)