Home

Awesome

charuco_detector

Detector of ChArUco patterns using the cv::aruco::CharucoBoard.

The main advantage of using ChArUco patterns vs the traditional chessboards is their ability to reliably estimate the board 6 DoF pose even if some of the squares / markers are occluded or outside of the image field of view. This is useful for calibrating cameras and also for calculating coordinate systems for robotics applications.

Usage

Notes

Even when printing in real size, there might be a small scaling applied by the printer, which can be mitigated by measuring all the black and white scares in the widest axis and then updating the size of the squares and markers given to the ChArUco detector with:

updated_squares_sides_size_in_meters = measure_of_all_squares_in_widest_direction / number_of_squares_in_y
updated_markers_sides_size_in_meters = (updated_squares_sides_size_in_meters / squares_sides_size_in_meters) * markers_sides_size_in_meters