-
-
- Posts: 15
- Joined: 2025-01-04 21:58
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:
-
Attachments
-

-
- Posts: 83
- Joined: 2024-12-31 3:02
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.
-
- Posts: 15
- Joined: 2025-01-04 21:58
I want to read QR code using CSI Camera that's why Can you assist me? How can I do that?
-
- Posts: 83
- Joined: 2024-12-31 3:02
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.
-
- Posts: 15
- Joined: 2025-01-04 21:58
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?
Last edited by
ismlcmtzn on 2025-01-31 13:14, edited 1 time in total.
-
- Posts: 15
- Joined: 2025-01-04 21:58
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?
-
- Posts: 83
- Joined: 2024-12-31 3:02