Skip to content

Input arguments for cv2.calibrateHandEye() #1

@ThurSN

Description

@ThurSN

Hi, first of all, thanks for your code & example. Just want to ask you about the input arguments you put in cv2.calibrateHandEye(). In HandEyeCalibration_class.py line 68 - 74 it's like this:
self.R_cam2gripper, self.t_cam2gripper = cv2.calibrateHandEye(
self.R_cam2target,
self.T_cam2target,
self.R_vecEE2Base,
self.tEE2Base,
method=i
)

However, in the OpenCV reference (https://docs.opencv.org/4.5.4/d9/d0c/group__calib3d.html#gaebfc1c9f7434196a374c382abf43439b) it's defined:
cv.calibrateHandEye(R_gripper2base, t_gripper2base, R_target2cam, t_target2cam[, R_cam2gripper[, t_cam2gripper[, method]]]) -> R_cam2gripper, t_cam2gripper

I wonder, did you implement it wrongly? But when I checked your result, the R_cam2gripper and t_cam2gripper for 4 methods are almost similar to each other. And when I followed the input parameters according to OpenCV reference, this is not the case.

Thank you!

Regards,
Arthur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions