Skip to content

Add a check for minimum image size. Fixes #422#426

Open
mkrogius wants to merge 1 commit intomasterfrom
issue_422
Open

Add a check for minimum image size. Fixes #422#426
mkrogius wants to merge 1 commit intomasterfrom
issue_422

Conversation

@mkrogius
Copy link
Contributor

No description provided.

apriltag.c Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this threshold (6) tag family specific? I.e. larger tag families also require larger images.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, we could make this stricter. For tag16h5, which is the smallest family, we need a minimum size of 8. I've updated the check to this value.

In order to fix #422 we only need to check that the image height is at least 2, so this check is stricter than we need.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you push these changes already? I still see the old threshold of 6 in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. I've pushed it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments