Socket
Socket
Sign inDemoInstall

github.com/m-baertschi/barcode

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/m-baertschi/barcode

barcode provides a wrapper around zbar for reading barcodes from images. For the time being, it only supports reading from images and not any of zbar's more esoteric features like GUI display and reading directly from barcode scanners or video inputs. I probably won't implement any further features as I don't have any need for them, but feel free to submit a pull request if you need them and want to wrap them yourself. Because this package uses cgo, it links its dependencies dynamically by default. To compile you'll need the zbar C library and headers installed, and you'll need the library installed to run binaries compiled with this package. To read codes from an image, simply instantiate an Image (you can create one from any image.Image) and then pass it to an ImageScanner. For example:


Version published

Readme

Source

This package provides a simple Go wrapper around zbar for reading barcodes from image files. For documentation, see http://www.godoc.org/github.com/bieber/barcode/

FAQs

Last updated on 20 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc