Headers for libzbar

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
TJF
Posts: 3809
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Headers for libzbar

Post by TJF »

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)
Image

Decoding an image
Image
Storth
Posts: 1
Joined: Jul 29, 2016 12:13

Re: Headers for libzbar

Post by Storth »

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?
Last edited by Storth on Dec 07, 2023 21:18, edited 6 times in total.
TJF
Posts: 3809
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: Headers for libzbar

Post by TJF »

Hello Storth, welcome to this forum!
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?
I don't understand what you mean by scanning for specific lamps.

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
Post Reply