Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you have:

            Aruco.detectMarkers(image, markerDictionary, corners, ids, parameters, rejectedImgPoints);

the corners are a List<Mat> , and each Mat contains the 4 corner points of a marker, in clockwise order.

it's nicely explained in the c++ docs

you have:

  Aruco.detectMarkers(image, markerDictionary, corners, ids, parameters, rejectedImgPoints);

the corners are a List<Mat> , and each Mat contains the 4 corner points of a marker, in clockwise order.

it's nicely explained in the c++ docs

for the 2d points, you have:

 Aruco.detectMarkers(image, markerDictionary, corners, ids, parameters, rejectedImgPoints);

the corners are a List<Mat> , and each Mat contains the 4 corner points of a marker, in clockwise order.

it's nicely explained in the c++ docs

the 3d positions (relative to the camera) are in the tvecs , obtained from Aruco.estimatePoseSingleMarkers