Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | humble |
| Last Updated | 2024-04-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.4.1 |
README
Zbar ROS
Basic ROS2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.

Installation
Binary Installation
To perform a binary installation, source your ROS 2 installation, then simply run:
sudo apt install ros-${ROS_DISTRO}-zbar-ros
Source Installation (Alternative)
Alternatively, you can build from source.
Make sure you are in a ROS 2 workspace.
Clone this repository into your workspace’s src directory by running:
git clone git@github.com:ros-drivers/zbar_ros.git src/zbar_ros
Install the dependencies using rosdep:
rosdep install --from-paths src --ignore-src -r -y
Build the package:
colcon build
Usage
You have to source your workspace, then run the node. In your workspace, run:
source install/local_setup.bash
ros2 run zbar_ros barcode_reader
Topics
Subscriptions:
-
image(sensor_msgs/msg/Image)
Publisher:
-
barcode(std_msgs/msg/String)
Debugging the barcode_reader node
To debug whether the node is
- receiving msgs on
image - detecting your 1d or 2d QT code
- publishing the result on
barcode
run with debug logging enabled as below:
ros2 run zbar_ros barcode_reader --ros-args --log-level DEBUG
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2024-04-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.6.0 |
| zbar_ros_interfaces | 0.6.0 |
README
Zbar ROS
Basic ROS2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.

Installation
Binary Installation
To perform a binary installation, source your ROS 2 installation, then simply run:
sudo apt install ros-${ROS_DISTRO}-zbar-ros
Source Installation (Alternative)
Alternatively, you can build from source.
Make sure you are in a ROS 2 workspace.
Clone this repository into your workspace’s src directory by running:
git clone git@github.com:ros-drivers/zbar_ros.git src/zbar_ros
Install the dependencies using rosdep:
rosdep install --from-paths src --ignore-src -r -y
Build the package:
colcon build
Usage
You have to source your workspace, then run the node. In your workspace, run:
source install/local_setup.bash
ros2 run zbar_ros barcode_reader
Topics
Subscriptions:
-
image(sensor_msgs/msg/Image)
Publisher:
-
symbol(zbar_ros_interfaces/msg/Symbol) -
barcode(std_msgs/msg/String) - DEPRECATED
Debugging the barcode_reader node
To debug whether the node is
- receiving msgs on
image - detecting your 1d or 2d QT code
- publishing the result on
barcode
run with debug logging enabled as below:
ros2 run zbar_ros barcode_reader --ros-args --log-level DEBUG
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | rolling |
| Last Updated | 2025-06-02 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.7.0 |
| zbar_ros_interfaces | 0.7.0 |
README
Zbar ROS
Basic ROS 2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.

Installation
Binary Installation
To perform a binary installation, source your ROS 2 installation, then simply run:
sudo apt install ros-${ROS_DISTRO}-zbar-ros
Source Installation (Alternative)
Alternatively, you can build from source.
Make sure you are in a ROS 2 workspace.
Clone this repository into your workspace’s src directory by running:
git clone git@github.com:ros-drivers/zbar_ros.git src/zbar_ros
Install the dependencies using rosdep:
rosdep install --from-paths src --ignore-src -r -y
Build the package:
colcon build
Usage
You have to source your workspace, then run the node. In your workspace, run:
source install/local_setup.bash
ros2 run zbar_ros barcode_reader
Topics
Subscriptions:
-
image(sensor_msgs/msg/Image)
Publisher:
-
symbol(zbar_ros_interfaces/msg/Symbol) -
barcode(std_msgs/msg/String) - DEPRECATED
Debugging the barcode_reader node
To debug whether the node is
- receiving msgs on
image - detecting your 1d or 2d QT code
- publishing the result on
barcode
run with debug logging enabled as below:
ros2 run zbar_ros barcode_reader --ros-args --log-level DEBUG
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | rolling |
| Last Updated | 2025-06-02 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.7.0 |
| zbar_ros_interfaces | 0.7.0 |
README
Zbar ROS
Basic ROS 2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.

Installation
Binary Installation
To perform a binary installation, source your ROS 2 installation, then simply run:
sudo apt install ros-${ROS_DISTRO}-zbar-ros
Source Installation (Alternative)
Alternatively, you can build from source.
Make sure you are in a ROS 2 workspace.
Clone this repository into your workspace’s src directory by running:
git clone git@github.com:ros-drivers/zbar_ros.git src/zbar_ros
Install the dependencies using rosdep:
rosdep install --from-paths src --ignore-src -r -y
Build the package:
colcon build
Usage
You have to source your workspace, then run the node. In your workspace, run:
source install/local_setup.bash
ros2 run zbar_ros barcode_reader
Topics
Subscriptions:
-
image(sensor_msgs/msg/Image)
Publisher:
-
symbol(zbar_ros_interfaces/msg/Symbol) -
barcode(std_msgs/msg/String) - DEPRECATED
Debugging the barcode_reader node
To debug whether the node is
- receiving msgs on
image - detecting your 1d or 2d QT code
- publishing the result on
barcode
run with debug logging enabled as below:
ros2 run zbar_ros barcode_reader --ros-args --log-level DEBUG
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | iron |
| Last Updated | 2024-04-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.5.1 |
README
Zbar ROS
Basic ROS2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.

Installation
Binary Installation
To perform a binary installation, source your ROS 2 installation, then simply run:
sudo apt install ros-${ROS_DISTRO}-zbar-ros
Source Installation (Alternative)
Alternatively, you can build from source.
Make sure you are in a ROS 2 workspace.
Clone this repository into your workspace’s src directory by running:
git clone git@github.com:ros-drivers/zbar_ros.git src/zbar_ros
Install the dependencies using rosdep:
rosdep install --from-paths src --ignore-src -r -y
Build the package:
colcon build
Usage
You have to source your workspace, then run the node. In your workspace, run:
source install/local_setup.bash
ros2 run zbar_ros barcode_reader
Topics
Subscriptions:
-
image(sensor_msgs/msg/Image)
Publisher:
-
barcode(std_msgs/msg/String)
Debugging the barcode_reader node
To debug whether the node is
- receiving msgs on
image - detecting your 1d or 2d QT code
- publishing the result on
barcode
run with debug logging enabled as below:
ros2 run zbar_ros barcode_reader --ros-args --log-level DEBUG
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | melodic-devel |
| Last Updated | 2022-06-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.3.1 |
README
README
Basic ROS wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.
CONTRIBUTING
Repository Summary
| Description | Lightweight ROS wrapper for zbar barcode/qrcode reader library (http://zbar.sourceforge.net/) |
| Checkout URI | https://github.com/ros-drivers/zbar_ros.git |
| VCS Type | git |
| VCS Version | melodic-devel |
| Last Updated | 2022-06-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| zbar_ros | 0.3.1 |
README
README
Basic ROS wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from image topic, and outputs detected barcodes to barcode topic. Works with 1D and 2D barcodes.