Skip to content

Commit

Permalink
fix(ceres_intrinsic_camera_calibrator): missing args & args order
Browse files Browse the repository at this point in the history
Signed-off-by: amadeuszsz <[email protected]>
  • Loading branch information
amadeuszsz committed Oct 23, 2024
1 parent ca6db27 commit e3a809d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ calibrate(
const std::vector<Eigen::MatrixXd> & image_points_eigen_list,
const Eigen::MatrixXd & initial_camera_matrix_eigen,
const Eigen::MatrixXd & initial_dist_coeffs_eigen, int num_radial_coeffs,
bool use_tangential_distortion, int num_rational_coeffs, bool verbose)
int num_rational_coeffs, bool use_tangential_distortion, bool verbose)
{
if (
initial_camera_matrix_eigen.cols() != 3 || initial_camera_matrix_eigen.rows() != 3 ||
Expand Down Expand Up @@ -178,7 +178,9 @@ PYBIND11_MODULE(ceres_intrinsic_camera_calibrator_py, m)
initial_camera_matrix (np.array): The initial camera matrix
initial_dist_coeffs (np.array): The initial distortion coefficients
num_radial_coeffs (int): The number of radial distortion coefficients used during calibration
num_rational_coeffs (int): The number of rational distortion coefficients used during calibration
use_tangential_distortion (bool): Whether we should use tangential distortion during calibration
verbose (bool): Whether we should print debug information
Returns:
The RMS reprojection error, the optimized camera intrinsics, and the board extrinsics
Expand Down

0 comments on commit e3a809d

Please sign in to comment.