zbar_install - Extended-Object-Detection-ROS/wiki_english GitHub Wiki
Installing the Zbar library
Zbar library for barcode and QR code recognition. To work with QR codes, it is recommended to use the QrZbar attribute rather than Qr, which uses the OpenCV recognition implementation.
1. Install
Install Zbar by command
sudo apt-get install libzbar-dev libzbar0
2. Package customization
Then, to build Extended Object Detection based on Zbar, you need to replace the line in the CMakeLists.txt file located in the root of the repository
set(zbar OFF)
to
set(zbar ON)
And build the project. If the project has already been built before, then you may need to delete the collected files. The most reliable, but at the same time barbaric, way to do this is to delete the build and devel folders of your workspace and rebuild it entirely.