Skip to content

Commit

Permalink
fix binding
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Nov 26, 2024
1 parent 1ff3b33 commit fa853ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions limap/base/bindings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ void bind_camera(py::module &m) {
.def_readwrite("model", &Camera::model_id, "Camera model.")
.def_readwrite("width", &Camera::width, "Width of camera sensor.")
.def_readwrite("height", &Camera::height, "Height of camera sensor.")
.def_readwrite("params", &Camera::params, "Camera parameters.")
.def("as_dict", &Camera::as_dict, R"(
Returns:
dict: Python dict representation of this :class:`~limap.base.Camera`
Expand Down

0 comments on commit fa853ec

Please sign in to comment.