ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Does tod_training in object_recognition require fiducial markers on training images?

asked 2011-03-07 01:14:42 -0500

Julius gravatar image

I have been following the Training Base Creation tutorial to create a database for recognizing objects using packages tod_training and tod_detecting in stack object_recognition. I noted that the supplied images for training (snapshots from different angles) all show fiducial markers.

Ultimately, I want to train the data base using data supplied by our University lab that has been collected without fiducial markers.

Is there a possibility to use tod_training without fiducial markers?

edit retag flag offensive close merge delete


Did you every tried to make a training base with you own bag files? And did you succeeded? If yes I need your help..
dlmypr gravatar image dlmypr  ( 2011-03-11 21:28:58 -0500 )edit
I have my own bag files with point clouds and 2d image data. I need to collect some ideas on how to work around this obstacle this week, but haven't done anything in this direction yet. I will let you know if I come up with something, and would be happy if you did so, too.
Julius gravatar image Julius  ( 2011-03-13 21:47:40 -0500 )edit
Hey dlmypr make sure to also check out and too. I think Alexander Shishkov has done a pretty awesome job on answering questions on tod_* today. If you're doing the training process please share your experience.
Julius gravatar image Julius  ( 2011-03-23 09:40:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-23 04:32:23 -0500

updated 2011-03-23 08:27:17 -0500

I think it is impossible now. But you can modify tod_training (turn off finding fiducial markers and detection of transformation between current image and the some abstract coordinate system) :-) In tod_training we require fiducial marker(or markers) for detection transformation between different frames in bag file. For each frame we calculate transformation between the camera coordinate system and the some abstract coordinate system (where coordinates of chessboard corners are the same as in fiducial.yaml). Calculated pose is saved to Features3d->Camera->Pose. Using this information we can merge point clouds from different images to the one for example.

You can use other fiducial markers (one or some chessboards or grids of circles). Parameters of your fiducial marker/markers should be in fiducial.yaml file. tod_training package contains tool for generating this file.

edit flag offensive delete link more


Also I recommend you to learn old version of tutorial (for example They contain some useful information about fiducial markers and poses.
Alexander Shishkov gravatar image Alexander Shishkov  ( 2011-03-23 05:04:57 -0500 )edit
Why is the current wiki less elaborate?
KoenBuys gravatar image KoenBuys  ( 2011-03-24 00:47:34 -0500 )edit
I don't know. Ethan supports this wiki page. I like more the earlier version.
Alexander Shishkov gravatar image Alexander Shishkov  ( 2011-03-24 00:54:01 -0500 )edit
I like the high-level info about the fiducial markers on rev 17. But doesn't switching off the transformation leave us without pose information that is required later in tod_detecting when trying to recognize objects?
Julius gravatar image Julius  ( 2011-03-25 06:27:42 -0500 )edit

Question Tools



Asked: 2011-03-07 01:14:42 -0500

Seen: 454 times

Last updated: Mar 23 '11