Skip to content

Commit

Permalink
Merge pull request #799 from luxonis/distortion-model-api-develop
Browse files Browse the repository at this point in the history
added distortion model getter
  • Loading branch information
themarpe authored Apr 4, 2023
2 parents e8c50bb + 2bd7899 commit e932670
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CalibrationHandlerBindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void CalibrationHandlerBindings::bind(pybind11::module& m, void* pCallstack){

.def("getFov", &CalibrationHandler::getFov, py::arg("cameraId"), py::arg("useSpec") = true, DOC(dai, CalibrationHandler, getFov))
.def("getLensPosition", &CalibrationHandler::getLensPosition, py::arg("cameraId"), DOC(dai, CalibrationHandler, getLensPosition))
.def("getDistortionModel", &CalibrationHandler::getDistortionModel, py::arg("cameraId"), DOC(dai, CalibrationHandler, getDistortionModel))

.def("getCameraExtrinsics", &CalibrationHandler::getCameraExtrinsics, py::arg("srcCamera"), py::arg("dstCamera"), py::arg("useSpecTranslation") = false, DOC(dai, CalibrationHandler, getCameraExtrinsics))

Expand Down

0 comments on commit e932670

Please sign in to comment.