![]() |
apriltag_detector package from apriltag_detector repoapriltag_detector apriltag_detector_mit apriltag_detector_umich apriltag_draw apriltag_tools |
Package Summary
Tags | No category tags. |
Version | 3.0.1 |
License | Apache2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros-misc-utilities/apriltag_detector.git |
VCS Type | git |
VCS Version | release |
Last Updated | 2025-02-28 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Bernd Pfrommer
Authors
ROS Apriltag detector package
This package implements a generic apriltag detector as both a node and a composable component. The package also has the base class header files for the apriltag detector plugins implemented by the UMich and the MIT detector.
With the package you can run any apriltag detector that implements the plugin interface, so long as the required plugin is installed. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.
For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.
NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.
Components
DetectorComponent
Parameters:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
decimate_factor
: ratio of decimation, default: 1.0 (no decimation). -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). -
num_threads
: (only for UMich). Number of threads to run in parallel. Default: 1. -
tag_family
: Apriltag family. Supported families depend on detector type. Default: “tf36h11”. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Topics:
-
image
(subscribed to): remap this to the camera topic on which to run the detector. -
tags
(published): remap this to the topic under which the tag detections should be published.
Launch files
detect.launch.py
This convenience launch file launches both a detector and a draw node for easy viewing of the tags.
Arguments:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
camera
: name of the camera, e.g./camera_0
. Default:camera
. -
image
: name of the image underneath the camera node, e.g.image_raw
. The node will then subscribe to images/camera_name/image_raw
. Default:image_raw
. -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default:raw
. -
tags
: The topic name under which to publish the tags. Default:tags
. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Example usage
Start detector and drawing node:
ros2 launch apriltag_detector detect.launch.py camera:=/camera
Now you have to start a camera server that publishes images under /camera/image_raw
, or play such data from a bag.
For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view
:
ros2 run rqt_image_view rqt_image_view /camera/image_tags
Alternatively you can look at the decoded tag rate:
ros2 topic hz /camera/tags
License
This software is issued under the Apache License Version 2.0.
Changelog for package apriltag_detector
3.0.1 (2025-02-28)
3.0.0 (2025-02-28)
- clean up apriltag_detector packages. Detector component is now in apriltag_detector.
- Contributors: Bernd Pfrommer
2.0.1 (2024-09-26)
2.0.0 (2024-05-11)
- initial release as base class of pluggable detectors
- Contributors: Bernd Pfrommer
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ros_environment | |
ament_lint_auto | |
ament_lint_common | |
ament_cmake_clang_format | |
apriltag_msgs | |
cv_bridge | |
image_transport | |
pluginlib | |
rclcpp | |
rclcpp_components | |
sensor_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged apriltag_detector at Robotics Stack Exchange
![]() |
apriltag_detector package from apriltag_detector repoapriltag_detector apriltag_detector_mit apriltag_detector_umich apriltag_draw apriltag_tools |
Package Summary
Tags | No category tags. |
Version | 3.0.1 |
License | Apache2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros-misc-utilities/apriltag_detector.git |
VCS Type | git |
VCS Version | release |
Last Updated | 2025-02-28 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Bernd Pfrommer
Authors
ROS Apriltag detector package
This package implements a generic apriltag detector as both a node and a composable component. The package also has the base class header files for the apriltag detector plugins implemented by the UMich and the MIT detector.
With the package you can run any apriltag detector that implements the plugin interface, so long as the required plugin is installed. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.
For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.
NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.
Components
DetectorComponent
Parameters:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
decimate_factor
: ratio of decimation, default: 1.0 (no decimation). -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). -
num_threads
: (only for UMich). Number of threads to run in parallel. Default: 1. -
tag_family
: Apriltag family. Supported families depend on detector type. Default: “tf36h11”. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Topics:
-
image
(subscribed to): remap this to the camera topic on which to run the detector. -
tags
(published): remap this to the topic under which the tag detections should be published.
Launch files
detect.launch.py
This convenience launch file launches both a detector and a draw node for easy viewing of the tags.
Arguments:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
camera
: name of the camera, e.g./camera_0
. Default:camera
. -
image
: name of the image underneath the camera node, e.g.image_raw
. The node will then subscribe to images/camera_name/image_raw
. Default:image_raw
. -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default:raw
. -
tags
: The topic name under which to publish the tags. Default:tags
. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Example usage
Start detector and drawing node:
ros2 launch apriltag_detector detect.launch.py camera:=/camera
Now you have to start a camera server that publishes images under /camera/image_raw
, or play such data from a bag.
For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view
:
ros2 run rqt_image_view rqt_image_view /camera/image_tags
Alternatively you can look at the decoded tag rate:
ros2 topic hz /camera/tags
License
This software is issued under the Apache License Version 2.0.
Changelog for package apriltag_detector
3.0.1 (2025-02-28)
3.0.0 (2025-02-28)
- clean up apriltag_detector packages. Detector component is now in apriltag_detector.
- Contributors: Bernd Pfrommer
2.0.1 (2024-09-26)
2.0.0 (2024-05-11)
- initial release as base class of pluggable detectors
- Contributors: Bernd Pfrommer
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ros_environment | |
ament_lint_auto | |
ament_lint_common | |
ament_cmake_clang_format | |
apriltag_msgs | |
cv_bridge | |
image_transport | |
pluginlib | |
rclcpp | |
rclcpp_components | |
sensor_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged apriltag_detector at Robotics Stack Exchange
![]() |
apriltag_detector package from apriltag_detector repoapriltag_detector apriltag_detector_mit apriltag_detector_umich apriltag_draw apriltag_tools |
Package Summary
Tags | No category tags. |
Version | 3.0.1 |
License | Apache2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros-misc-utilities/apriltag_detector.git |
VCS Type | git |
VCS Version | release |
Last Updated | 2025-02-28 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Bernd Pfrommer
Authors
ROS Apriltag detector package
This package implements a generic apriltag detector as both a node and a composable component. The package also has the base class header files for the apriltag detector plugins implemented by the UMich and the MIT detector.
With the package you can run any apriltag detector that implements the plugin interface, so long as the required plugin is installed. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.
For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.
NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.
Components
DetectorComponent
Parameters:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
decimate_factor
: ratio of decimation, default: 1.0 (no decimation). -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). -
num_threads
: (only for UMich). Number of threads to run in parallel. Default: 1. -
tag_family
: Apriltag family. Supported families depend on detector type. Default: “tf36h11”. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Topics:
-
image
(subscribed to): remap this to the camera topic on which to run the detector. -
tags
(published): remap this to the topic under which the tag detections should be published.
Launch files
detect.launch.py
This convenience launch file launches both a detector and a draw node for easy viewing of the tags.
Arguments:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
camera
: name of the camera, e.g./camera_0
. Default:camera
. -
image
: name of the image underneath the camera node, e.g.image_raw
. The node will then subscribe to images/camera_name/image_raw
. Default:image_raw
. -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default:raw
. -
tags
: The topic name under which to publish the tags. Default:tags
. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Example usage
Start detector and drawing node:
ros2 launch apriltag_detector detect.launch.py camera:=/camera
Now you have to start a camera server that publishes images under /camera/image_raw
, or play such data from a bag.
For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view
:
ros2 run rqt_image_view rqt_image_view /camera/image_tags
Alternatively you can look at the decoded tag rate:
ros2 topic hz /camera/tags
License
This software is issued under the Apache License Version 2.0.
Changelog for package apriltag_detector
3.0.1 (2025-02-28)
3.0.0 (2025-02-28)
- clean up apriltag_detector packages. Detector component is now in apriltag_detector.
- Contributors: Bernd Pfrommer
2.0.1 (2024-09-26)
2.0.0 (2024-05-11)
- initial release as base class of pluggable detectors
- Contributors: Bernd Pfrommer
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ros_environment | |
ament_lint_auto | |
ament_lint_common | |
ament_cmake_clang_format | |
apriltag_msgs | |
cv_bridge | |
image_transport | |
pluginlib | |
rclcpp | |
rclcpp_components | |
sensor_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged apriltag_detector at Robotics Stack Exchange
![]() |
apriltag_detector package from apriltag_detector repoapriltag_detector apriltag_detector_mit apriltag_detector_umich apriltag_draw |
Package Summary
Tags | No category tags. |
Version | 2.2.0 |
License | Apache2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros-misc-utilities/apriltag_detector.git |
VCS Type | git |
VCS Version | iron |
Last Updated | 2024-05-12 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Bernd Pfrommer
Authors
ROS Apriltag detector package
This package has the base class header files for apriltag detector plugins for the UMich and the MIT detector.
It also has launch files for both of these detectors, so by installing this package you can use both of these detectors interchangeably. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.
For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.
NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.
Launch files
detect.launch.py
This convenience launch file launches both a detector and a draw node for easy viewing of the tags.
Arguments:
-
black_border_width
: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. -
blur
: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). -
camera
: name of the camera, e.g./camera_0
. Default:camera
. -
image
: name of the image underneath the camera node, e.g.image_raw
. The node will then subscribe to images/camera_name/image_raw
. Default:image_raw
. -
image_transport
: the transport to use, e.g.compressed
,ffmpeg
etc. Default:raw
. -
max_allowed_hamming_distance
: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default:raw
. -
tags
: The topic name under which to publish the tags. Default:tags
. -
type
: What type of detector to use. Valid aremit
,umich
. Default:umich
.
Example usage
Start detector and drawing node:
ros2 launch apriltag_detector.launch.py camera:=/cam_sync/cam_0
Now you have to start a camera server that publishes images under /cam_sync/cam_0/image_raw
, or play such data from a bag.
For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view
:
ros2 run rqt_image_view rqt_image_view /cam_sync/cam_0/image_tags
Alternatively you can look at the decode tag rate:
ros2 topic hz /cam_sync/cam_0/tags
License
This software is issued under the Apache License Version 2.0.
Changelog for package apriltag_detector
2.2.0 (2024-05-11)
- initial release as plugin
- Contributors: Bernd Pfrommer
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ament_cmake_ros | |
ament_cmake_auto | |
ros_environment | |
ament_lint_auto | |
ament_lint_common | |
ament_cmake_clang_format | |
rclcpp | |
rclcpp_components | |
apriltag_msgs | |
sensor_msgs | |
pluginlib |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
apriltag_detector_mit | |
apriltag_detector_umich |