refineDetectedMarkers on non planar board

asked 2017-02-28 22:57:43 -0500

AlexRothberg gravatar image

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?

edit retag flag offensive close merge delete

Comments

I think it is possible to use refineDetectedMarkers and i do not understand meaning of

"If not, missing marker projections are interpolated using global homography, and all the marker corners in the board must have the same Z coordinate"

I 'm not at all native english speaking but I would write :

" If not, missing marker projections are interpolated using global homography, and all the marker corners in the board will have the same Z coordinate"

LBerger gravatar imageLBerger ( 2017-03-01 02:29:56 -0500 )edit