Uses opencv to find checkboards and compute their 6D poses with respect to the image. Requires the image to be calibrated.
Parameters:
There can be more than one grid%d declared, the numbers should grow consecutively starting at 0.