Skip to content

Commit

Permalink
opencv-calibrate: backport cpp code to gcc 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jun 16, 2022
1 parent ff9c550 commit 4083fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opencv-calibrate/src/opencv-calibrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ struct cv_return_value_double calibrate_camera(
cv::Mat translationVectors(image_count, 3, CV_64F, (void*)translation_vectors);

// Copy external data into OpenCV data structures
std::vector<std::vector<cv::Point3f>> obj_pts;
std::vector<std::vector<cv::Point2f>> im_pts;
std::vector<std::vector<cv::Point3f> > obj_pts;
std::vector<std::vector<cv::Point2f> > im_pts;

int k = 0;
for( i = 0; i < image_count; i++ ) {
Expand Down

0 comments on commit 4083fef

Please sign in to comment.