Skip to content

Commit

Permalink
Merge pull request #7 from kduma-OSS/feature/optimize-barcode-scanning
Browse files Browse the repository at this point in the history
Limit scanned barcodes
  • Loading branch information
kduma authored Dec 1, 2022
2 parents 5eba127 + 59766b6 commit 7b7ab80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/barcode-scanner/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

/usr/bin/pdftoppm -png -r $1 -singlefile -cropbox '/data/input.pdf' '/data/image' || exit 1

/usr/bin/zbarimg -S*.enable '/data/image.png' > '/data/output.txt' || exit 5
/usr/bin/zbarimg --set '*.disable' --set '*.no-position' --set '*.x-density=2' --set '*.y-density=2' --set 'code128.enable' --set 'qrcode.enable' '/data/image.png' > '/data/output.txt' || exit 5

0 comments on commit 7b7ab80

Please sign in to comment.