Warning

You are reading an old version of this documentation. If you want up-to-date information, please have a look at 3.3 .

# What is hand-eye calibration?

The question is to find the relative position and orientation between a rigidly mounted camera and the the last joint of the robot gripper. The target of the hand-eye calibration is to transform the detected parts X,Y coordinates from the vision coordinate frame (VCF) to the robot coordinate frame (RCF).

After hand-eye calibration, EYE+ will be able to directly send the robot coordinates (in the robot frame) after each image acquisition. Fig. 228 Hand-eye calibration representation; RCF: red coordinate system; VCF: blue coordinate system.

## How is it solved?

The mathematical problem takes the form of the affine transformation:

$X_r = A X_C + B$

where $$X_r$$ are coordinates in $$(x,y)$$ in the robot frame and $$X_c$$ are coordinates in $$(x,y)$$ in the camera frame. The transformation matrices $$A$$ and $$B$$ are deduced from the hand-eye calibration. Thanks to these, the coordinates in the robot system can be deduced from the coordinates in the vision system.

Warning

The difference in height between the two frames is not handled by EYE+. The hand-eye calibration is only performing coordinate transformation of the $$(x,y)$$ positions. Your robot must be aware of the difference in height between its frame and the plate, as well as the difference in height between the plate and the height of the part.

## Calibration accuracy

The calibration accuracy displayed in step 6 is the root mean square of the reprojection error of the four points. The reprojections are the inverse transformations of the 4 robot points projected in the vision frame.

The smaller the calibration accuracy value, the better the calibration.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8802091,"math_prob":0.9950476,"size":1663,"snap":"2022-40-2023-06","text_gpt3_token_len":346,"char_repetition_ratio":0.18083182,"word_repetition_ratio":0.03041825,"special_character_ratio":0.20926037,"punctuation_ratio":0.08852459,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98280185,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-08T20:11:33Z\",\"WARC-Record-ID\":\"<urn:uuid:b5e114f9-3964-4ea1-838a-d1ce275649c8>\",\"Content-Length\":\"17144\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c7d3af28-a4f0-41d6-919b-1acb0eda4d84>\",\"WARC-Concurrent-To\":\"<urn:uuid:6eb15a67-c34b-4d86-bb30-6d98edc6a401>\",\"WARC-IP-Address\":\"141.101.62.216\",\"WARC-Target-URI\":\"https://doc.eyeplus.asyril.com/en/3.1/support/knowledge_database/handeye_calibration_theory.html\",\"WARC-Payload-Digest\":\"sha1:WXXGOBRHKAQJAM3NU2AXKIXQJTEPLGYF\",\"WARC-Block-Digest\":\"sha1:CUG7IDV5VWCVZKWFOH6AO63Q2JRIFIPE\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764500904.44_warc_CC-MAIN-20230208191211-20230208221211-00073.warc.gz\"}"}