Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

refineDetectedMarkers on non planar board

I have a non planar board which is five faces of a cube. On each face is four markers (2 x 2 grid). I am currently calling detectMarkers followed by estimatePoseBoard. I would like to call refineDetectedMarkers between these two to improve the pose estimation by finding markers which were not initially detected. This does not work due to the stipulation in the docs "all the marker corners in the board must have the same Z coordinate" (and this code).

That being said is there any way to use refineDetectedMarkers on a face by face manner since each face _is_ planar (with 4 markers)? At the very least is it possible to use refineDetectedMarkers on the top face of the cube since those 4 markers will be planar _and_ have the same z-value?