ROS API

http://datamatrix.kaywa.com/img.php?s=12&d=IPA

cob_marker

cob_marker allows to find 6DOF markers of different types, like datamatrix, Qr, natural landmarks, ...

Action Goal

/object_detection/detect_object/goal (cob_object_detection/DetectObjectsActionGoal)
  • Goal for executing object detection procedure

Action Result

/object_detection/detect_object/result (cob_object_detection/DetectObjectsActionResult)
  • List of detect object instances including a confidence and pose estimate

Action Feedback

/object_detection/detect_object/feedback (cob_object_detection/DetectObjectsActionFeedback)
  • Feedback holds number to indicate the approximate progress

Subscribed Topics

/camera/rgb/image_color (std_msgs/Image)
  • color image
/camera/depth/points (std_msgs/Pointcloud2)
  • pointcloud with depth data
/camera/rgb/camera_info (std_msgs/CameraInfo)
  • instrinstric information about camera

Parameters

algorithm (string)
  • selects marker algorithm. possible values: zxing, dmtx
tryHarder (bool)
  • try harder option of zxing
dmtx_timeout (int)
  • timeout of marker recognition of dmtx (specifies how many markers can be recognized depending on the execution speed)

Installation

Install zxing with C-Port and the development package of dmtx.

Usage/Examples

Plug in Kinect or Kinect-style camera and start

roslaunch cob_marker marker.launch

cob_marker provides now an action on the topic "/cob_marker/object_detection". Each action triggers marker recognition to avoid high CPU usage. The usage of the action is the same as with cob_object_detection.

Algorithms

zxing is the java implementation of various kind of marker recognition (bar codes, Qr, datamatrix ...)

dmtx only recognizes datamatrix. But it is faster than zxing in general.

Generate a marker code

http://datamatrix.kaywa.com/

permalink, e.g. for milk http://datamatrix.kaywa.com/img.php?s=39&d=milk

Print it out with a size of around 20cm x 20cm.

http://www.libdmtx.org/

Wiki: cob_marker (last edited 2012-10-01 09:47:33 by josh)