ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.
The flexible, layered implementation facilitates bar code scanning and decoding for any application: use it stand-alone with the included GUI and command line programs, easily integrate a bar code scanning widget into your GTK+ GUI application.
ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial
projects.
Download (headers and examples)
Screenshots (from GTK+-GUI example test_gtk.bas)
Decoding a webcam video stream (LINUX only)
Decoding an image
Headers for libzbar
Re: Headers for libzbar
That's very cool TJF, could it be used to scan for other stuff other than bar codes? I.e specific lamps for example.
Also does the camera have to be still for it to detect or can there be movement?
Also does the camera have to be still for it to detect or can there be movement?
Last edited by Storth on Dec 07, 2023 21:18, edited 6 times in total.
Re: Headers for libzbar
Hello Storth, welcome to this forum!
The camera can move, but the single images must not be blurred (have to be sharp). When you're on LInux just test the scanning of a video stream (example included).
Anyhow, I just translated the headers and examples for FreeBASIC. For details please visit the libraries web site at
http://zbar.sourceforge.net/api/index.html
BR
I don't understand what you mean by scanning for specific lamps.Storth wrote:That's very cool TJF, could it be used to scan for other stuff other than bar codes? I.e specific lamps for example.
Also does the camera have to be still for it to detect or can there be movement?
The camera can move, but the single images must not be blurred (have to be sharp). When you're on LInux just test the scanning of a video stream (example included).
Anyhow, I just translated the headers and examples for FreeBASIC. For details please visit the libraries web site at
http://zbar.sourceforge.net/api/index.html
BR