Page 1 of 1
Luckfox Pico Ultra W Zbar installation
Posted: 2025-01-23 11:35
by ismlcmtzn
Hi,
I am working on your RTSP demo. I am trying to decode the CSI input image after YOLOv5 detection. However, I am facing some issues. Initially, I tried to implement ZBar.
Here are the steps I followed:
Code: Select all
git clone https://github.com/mchehab/zbar.git
cd zbar
autoreconf -vfi
./configure
make
sudo make install
Then, I added #include "barcode_read.h" to main.cc. I also modified the CMakeLists.txt file. I tried many different combinations, but in the end, I encountered the following error:
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-01-24 7:51
by Ryand
I have observed that your process does not seem to have configured a cross compilation environment for the zbar library. From the error message 'file format not recognized', I think this is a high possibility.
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-01-24 10:52
by ismlcmtzn
I want to read QR code using CSI Camera that's why Can you assist me? How can I do that?
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-01-24 12:22
by Ryand
You can add a QR code function to main.cc to decode the image, and then call it after the main loop acquires the vi frame.
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-01-27 6:40
by ismlcmtzn
Yes, you are right. That's why I am trying to implement the ZBar Barcode Reader. However, I am facing some problems. I added the code to the main.cc, but I couldn't compile ZBar for arm-rockchip830-linux-uclibcgnueabihf. Can you help me?
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-02-03 5:30
by ismlcmtzn
Yes, you are right. That's why I am trying to implement the ZBar Barcode Reader(
https://github.com/mchehab/zbar). However, I am facing some problems. I added the code to the main.cc, but I couldn't compile ZBar for arm-rockchip830-linux-uclibcgnueabihf. Can you help me? Or can you suggest a different method to read the QR code?
Re: Luckfox Pico Ultra W Zbar installation
Posted: 2025-02-05 9:19
by Ryand
We have not tested the Zbar library yet, but you can refer to the following link:
https://zhuanlan.zhihu.com/p/673575607