Skip to content
This repository was archived by the owner on Jul 26, 2020. It is now read-only.

Conversation

Adimote
Copy link
Member

@Adimote Adimote commented Jun 4, 2018

Rearrange the marker corners to match that of apriltags

Adimote added 2 commits June 4, 2018 20:25
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.
@Adimote Adimote force-pushed the rearrange-corner-markers branch from aaa914e to d3c66b0 Compare June 4, 2018 19:27
@Adimote Adimote changed the title Rearrange corner markers Rearrange pixel corner co-ordinates Jun 4, 2018
@PeterJCLaw
Copy link
Contributor

@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?

@Adimote
Copy link
Member Author

Adimote commented Jun 12, 2018

@PeterJCLaw yes that's correct

@Adimote
Copy link
Member Author

Adimote commented Jun 12, 2018

@PeterJCLaw I've made it more clear in the comment

Copy link
Contributor

@PeterJCLaw PeterJCLaw left a 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.

Adimote added 2 commits June 12, 2018 22:03
Turns out the pixel corner co-ordinates ordering was incorrect this fixes that.
@Adimote
Copy link
Member Author

Adimote commented Jun 12, 2018

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

Copy link
Contributor

@PeterJCLaw PeterJCLaw left a 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?

@PeterJCLaw
Copy link
Contributor

Speaking of testing -- the CI is highlighting some long lines.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants