Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AprilTag Preprocessing Steps #373

Open
Jgunde opened this issue Mar 14, 2025 · 2 comments
Open

AprilTag Preprocessing Steps #373

Jgunde opened this issue Mar 14, 2025 · 2 comments

Comments

@Jgunde
Copy link

Jgunde commented Mar 14, 2025

This is a general inquiry about preprocessing images before they're fed into the detector.
Are there known ways to improve performance (accuracy, robustness...) by preprocessing images?
Or does the detector already handle any necessary "preprocessing"?

I'm sure there are scenarios and use cases where specific preprocessing steps can be applied to increase performance.
I'm interested in general preprocessing steps like modifying contrast, brightness, saturation, sharpening... that apply to a wide range of scenarios (low-light, distant tags, motion blur, shadows over tags...)

@s-trinh
Copy link
Contributor

s-trinh commented Mar 16, 2025

Best things to do in my opinion would be to acquire some data corresponding to your use case and test.

For illumination issues, there are some preprocessing that can be performed easily: histogram equalization , CLAHE algorithm in OpenCV, gamma correction and much more (for instance in scikit-image).

@mkrogius
Copy link
Contributor

The detector has a number of parameters that can be tuned for your use-case. The apriltag_demo binary is the place to start as it has flags that let you modify the detector parameters and the --debug flag will cause it to output debug images for each stage of the detector

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

No branches or pull requests

3 participants