You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my use case, I come across several such instances where there are odd lighting conditions and/or shadows on the tags in the environment. Looking at the debug images, this particular tag seems to be thresholding well and there's a decent enough cluster around the tag. However, this tag is never detected as a candidate quad. I'm using this image as a general example but there are several instances where I come across such situations. What can be done to make this situation better?
To Reproduce
Steps to reproduce the behavior:
Run apriltag_demo on the attached input image with the following parameters:
I guess that this is essentially the same issue as #161 and #235. To cite #161 (comment):
The reason the tag on the right is not detected is because of the sharp lighting gradient on the bottom left corner. This causes the adaptive thresholding (see debug_threshold.pnm) to classify a chunk of the white border as black, which causes the derived edge (see debug_clusters.pnm) to loop all the way back around the outside of the tag.
Without changing the thresholding implementation in the apriltag library you have to preprocess the image to better separate the black/white content of the tag.
You may also get lucky with decimation and blurring:
Describe the bug
In my use case, I come across several such instances where there are odd lighting conditions and/or shadows on the tags in the environment. Looking at the debug images, this particular tag seems to be thresholding well and there's a decent enough cluster around the tag. However, this tag is never detected as a candidate quad. I'm using this image as a general example but there are several instances where I come across such situations. What can be done to make this situation better?
To Reproduce
Steps to reproduce the behavior:
Run apriltag_demo on the attached input image with the following parameters:
Expected behavior
At least a quad to be detected around the tag in the image, decoding is not as big an issue.
Input Image
Screenshots
debug_threshold
debug_segmentation
debug_clusters
debug_quads_raw
Operating Sytem
Ubuntu 20.04
Installation Method
I built AprilTag from source following the instructions in the README
Code version
3.3.0
The text was updated successfully, but these errors were encountered: