Skip to content

Commit

Permalink
feat: update python package (#49)
Browse files Browse the repository at this point in the history
* fix: Fixed syntax errors and the use of objects in OpenMP

* fix: add std::move

* fix: fixed syntax in OpenMP code

* feat: added support for the reset method for image processing
  • Loading branch information
LevDenisov authored Oct 26, 2023
1 parent d2ed661 commit 9165e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/pybind/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ void pybind_depth_image(py::module& m) {
.def(py::init<std::string>(), py::arg("image_path"))
.def_property_readonly("height", &utils::DepthImage::getHeight)
.def_property_readonly("width", &utils::DepthImage::getWidth)
.def("transform_to_pcd", &utils::DepthImage::toPointCloud, py::arg("intrinsics"));
.def("transform_to_pcd", &utils::DepthImage::toPointCloud, py::arg("intrinsics"))
.def("reset", &utils::DepthImage::reset, py::arg("image_path"));
}
} // namespace deplex

0 comments on commit 9165e51

Please sign in to comment.