Skip to content

Commit

Permalink
Merge moved code from opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jul 21, 2019
2 parents fde4b15 + 1a162b1 commit 0915b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cudalegacy/src/calib3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ namespace
image_subset(0, i) = image->at<Point2f>(subset_indices[i]);
}

solvePnP(object_subset, image_subset, *camera_mat, *dist_coef, rot_vec, transl_vec);
solvePnP(object_subset, image_subset, *camera_mat, *dist_coef, rot_vec, transl_vec, false, SOLVEPNP_EPNP);

// Remember translation vector
Mat transl_vec_ = transl_vectors.colRange(iter * 3, (iter + 1) * 3);
Expand Down

0 comments on commit 0915b7e

Please sign in to comment.