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
void
importReconstruction(const cv::String &file, OutputArrayOfArrays Rs,
OutputArrayOfArrays Ts, OutputArrayOfArrays Ks,
OutputArray points3d, int file_format = SFM_IO_BUNDLER);
OutputArrayOfArrays points3d, int file_format = SFM_IO_BUNDLER);
//! @} sfm
......
......@@ -50,7 +50,7 @@ namespace sfm
void
importReconstruction(const cv::String &file, OutputArrayOfArrays _Rs,
OutputArrayOfArrays _Ts, OutputArrayOfArrays _Ks,
OutputArray _points3d, int file_format) {
OutputArrayOfArrays _points3d, int file_format) {
std::vector<Matx33d> Rs, Ks;
std::vector<Vec3d> Ts, points3d;
......@@ -89,4 +89,4 @@ importReconstruction(const cv::String &file, OutputArrayOfArrays _Rs,
} /* namespace sfm */
} /* namespace cv */
\ No newline at end of file
} /* namespace cv */
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