A ROS package to detect QR codes using ZBar and publish strings messages.
- ROS noetic or higher
- ZBar
- libzbar-dev package
Clone the repository to the workspace source path.
user@hostname:~/workspace/src$ git clone https://github.com/JHermosillaD/qr_scanner.git
Compile the package.
user@hostname:~/workspace$ catkin_make
Edit file launch/activate.launch
by the appropriate value of parameter /camera_topic
according to the name of the used image topic
Run the launcher.
user@hostname:~/workspace$ roslaunch qr_scanner activate.launch
The message containing the string can be print in terminal through topic /qr_scanner/data
.