node-zbarimg

Scan photos using ZBar in node

Usage no npm install needed!

<script type="module">
  import nodeZbarimg from 'https://cdn.skypack.dev/node-zbarimg';
</script>

README

zbarimg

Scan photos using zbarimg in node.js. This module is a wrapper around the zbarimg command from ZBar bar code reader.

Installation

npm install node-zbarimg

Requirements

ZBar bar code reader must be installed on your system. Make sure the command zbarimg is working.

Usage

var zbarimg = require('node-zbarimg')

zbarimg('photo.png', function(err, code) {

    console.log(code)
})