# Revision history [back]

have a look at the sample code, again.

aruco::detectMarkers() will give you a vector< vector< Point2f > > corners , that's the position in the image (4 corner points for each marker).

aruco::estimatePoseSingleMarkers() will give you an rvec (that's the rotation in euler angles) and a tvec (the translation wrt. the camera) for each detected marker.

have a look at the sample code, again.

aruco::detectMarkers() will give you a vector< vector< Point2f > > corners , that's the position in the image (4 corner points for each marker).

aruco::estimatePoseSingleMarkers() will give you an rvec (that's the rotation in euler angles) and a tvec (the translation wrt. the camera) for each detected marker.

however, to estimate the pose, you have to calibrate your camera first, and pass the filename with the camera params to you program like:

detect_markers -c=cam.yml