2020-05-25 02:01:12 -0600 | received badge | ● Famous Question (source) |
2018-07-26 04:16:44 -0600 | received badge | ● Notable Question (source) |
2017-12-05 16:05:27 -0600 | received badge | ● Popular Question (source) |
2016-03-08 09:59:55 -0600 | commented answer | Aruco - draw position+orientation relative to marker Thank you, it worked, its really awesome that there are people who help! I will post my code tomorrow because as new user I'm not allowed to answer my own question right now. |
2016-03-07 10:29:57 -0600 | asked a question | Aruco - draw position+orientation relative to marker Hi, I want to draw the orientation of my camera relative to a detected marker, I use the aruco module. So far I have a working code (basically the aruco example detect_markers.cpp from /opencv/opencv_contrib-master/modules/aruco/samples) that detects markers and draws a coordinate system onto them. Now I want to draw that coordinate system i a way that it shows the orientation of the camera relative to the marker. According to the opencv docs "the returned transformation from "estimatePoseSingleMarkers" (i.e. rvecs and tvecs) is the one that transforms points from each marker coordinate system to the camera coordinate system." So if I take the function Here is how I do the transformation: CvMat rvecs_trans; cvTranspose(rvecs[i], &rvecs_trans); If I pass rvecs_trans to the drawAxis function it wont compile:
Can anyone help me? I'm very new to opencv... |