2016-02-16 09:10:20 -0600 | received badge | ● Enthusiast |
2016-02-09 19:07:52 -0600 | commented answer | Rotating target changes distances computed with solvePnP The contour points are displayed in this gif: http://i.imgur.com/Au6tDQ4.gif Is there a method for consistently ordering the points? I've also changed the object points to match the size of the real-life target in inches. |
2016-02-08 11:02:10 -0600 | received badge | ● Editor (source) |
2016-02-06 22:48:29 -0600 | asked a question | Rotating target changes distances computed with solvePnP I've been working on finding the distance to a target (of known real-world dimensions). The distance seems consistent enough when viewed from a forward-facing angle, but when I rotate the target (without translating it) the distance changes: Here is the relevant code: EDIT: As Eduardo suggested, I have drawn the computed prose. I have also changed the objects points to match the width/height ratio of the actual target using: The issue is that while yawing seems to work now, rolling makes the distance jump:
|