Commit 2b8870de authored by Paul Debus's avatar Paul Debus

Fix broken pyhton binding for sfm importReconstruction

Change signature of the importReconstruction function to allow for
correct python bindings to be exported.
parent 0915b7ea
...@@ -76,7 +76,7 @@ CV_EXPORTS_W ...@@ -76,7 +76,7 @@ CV_EXPORTS_W
void void
importReconstruction(const cv::String &file, OutputArrayOfArrays Rs, importReconstruction(const cv::String &file, OutputArrayOfArrays Rs,
OutputArrayOfArrays Ts, OutputArrayOfArrays Ks, OutputArrayOfArrays Ts, OutputArrayOfArrays Ks,
OutputArray points3d, int file_format = SFM_IO_BUNDLER); OutputArrayOfArrays points3d, int file_format = SFM_IO_BUNDLER);
//! @} sfm //! @} sfm
......
...@@ -50,7 +50,7 @@ namespace sfm ...@@ -50,7 +50,7 @@ namespace sfm
void void
importReconstruction(const cv::String &file, OutputArrayOfArrays _Rs, importReconstruction(const cv::String &file, OutputArrayOfArrays _Rs,
OutputArrayOfArrays _Ts, OutputArrayOfArrays _Ks, OutputArrayOfArrays _Ts, OutputArrayOfArrays _Ks,
OutputArray _points3d, int file_format) { OutputArrayOfArrays _points3d, int file_format) {
std::vector<Matx33d> Rs, Ks; std::vector<Matx33d> Rs, Ks;
std::vector<Vec3d> Ts, points3d; std::vector<Vec3d> Ts, points3d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment