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

Markers not detected #20

Open
mehditlili opened this issue Aug 30, 2016 · 7 comments
Open

Markers not detected #20

mehditlili opened this issue Aug 30, 2016 · 7 comments

Comments

@mehditlili
Copy link

I switched from ar track alvar to aruco due to some issues with camera model and the matrix used to compute the marker pose but I am now having problems getting aruco to detect the markers. Here is one example of the thresholded image using default parameters:
aruco
Why is this marker not being detected??

@bmagyar
Copy link
Collaborator

bmagyar commented Aug 30, 2016

I think the one in the middle should work if the frame was a rectangle. On this image it looks more like a puzzle piece. Could you also attach the original image please?

As for the markers on the side, I'm not sure if this is not too much distortion...

Have you tried tweaking the parameters for your system using rqt_reconfigure?

@jordi-pages
Copy link
Member

Have you modified file single.launch and included the right marker ID and its proper size?

@mehditlili
Copy link
Author

mehditlili commented Aug 30, 2016

Yes the marker id and size were set correctly, the markers on the bottom are irrelevant here (alvar markers). The frame shape around the marker should be irrelevant too?, it is just white paper fixed with white double sided tape on a metal piece. Btw the marker is being detected when I bring it closer to the camera.
aruco2

@mehditlili
Copy link
Author

mehditlili commented Aug 30, 2016

Here is two comparisons, there is a difference of 3 cm between both positions.
detected
not_detected

I don't know what to tweak here the contrast between black and white on the marker seems perfect...

@jordi-pages
Copy link
Member

I would first try to detect another marker, just to make sure that AruCo does not have any problem with this specific marker.

@bmagyar
Copy link
Collaborator

bmagyar commented Aug 31, 2016

Good idea. Give a shot to the same scene with this marker (this is the most balanced one):
https://github.com/pal-robotics/aruco_ros/blob/master/aruco_ros/etc/marker582_5cm.jpg

As a sidenote: this coming weekend I intend to make a ROS Kinetic package of aruco with the new version of the library, that may solve your issue.

@Flacedoo
Copy link

Flacedoo commented Feb 2, 2017

Is there a solution yet for the problem that markers are not recognized from a further than a specific distance? I ran a simulation, and when the camera is further away than 1m from a 6.5cm tag, it hasn't got any chance to detect it. Other libraries like apriltag has no problem at all with more than double the distance!

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

4 participants