-
Notifications
You must be signed in to change notification settings - Fork 1
Rearrange pixel corner co-ordinates #45
base: master
Are you sure you want to change the base?
Conversation
The Previous API had marker corners ordered Clockwise from the bottom left. Apriltags orders them clockwise from the top left. This change converts the API to match Apriltags' output to reduce code complexity.
aaa914e
to
d3c66b0
Compare
@Adimote Are these relative to the marker or the image? That is, if the marker is upside down: is the first position value here that of the upper-leftmost corner within the image or the bottom-rightmost corner in the image? |
@PeterJCLaw yes that's correct |
@PeterJCLaw I've made it more clear in the comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even better would be to include an example explaining what it means for the coordinates to be relative to the marker.
Turns out the pixel corner co-ordinates ordering was incorrect this fixes that.
Turns out I was completely incorrect about the ordering of the corners. That shows me for trusting my memory. I've now updated the ordering to match actual values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the level of uncertainty around this, maybe a test to demonstrate example values is in order?
Speaking of testing -- the CI is highlighting some long lines. |
Rearrange the marker corners to match that of apriltags