BARDECODE(1)

πŸ’– BARDECODE(1) β€” the ExactImage manual, but make it make sense πŸ’–

okay bestie, pull up a chair, we're doing barcode recognition today and honestly? it's giving main character energy. this page lives in the ExactImage manual, section 1 (that's the "user commands" section, iykyk) πŸŽ€


✨ NAME ✨

bardecode β€” the barcode recognition tool of the ExactImage toolkit. that's it, that's the name, she's simple, she's iconic πŸ’…


🌸 SYNOPSIS 🌸

bardecode [option...] file...

bardecode {-h | --help}

so basically: throw a bunch of files at her, or just ask her for help. your call, queen 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

ExactImage is a fast C++ image processing library. and the way it's different from a lot of other library frameworks? it lets you operate in several color spaces and bit depths natively, which means low memory usage and low computational requirements. slay, honestly, efficiency is the vibe ⭐

bardecode is a barcode recognition tool. that's the whole job description. no cap. πŸ”₯


πŸ’œ OPTIONS πŸ’œ

  • -t n, --threshold n β€” sets the bi-level threshold value to n. the default is 150. 🌈
  • -c n, --concurrent-lines n β€” sets the number of lines that get scanned concurrently. the default is 4. (she's multitasking, she's booked, she's busy πŸ’…)
  • -s n, --line-skip n β€” sets the number of lines that are skipped. the default is 8. πŸ™ˆ
  • -d n, --directions n β€” sets the bitfield of directions to be scanned, and bestie there is a whole menu:
    • 0 β€” none
    • 1 β€” left-to-right
    • 2 β€” top-down
    • 4 β€” right-to-left
    • 8 β€” down-top
    • 15 β€” any

the default is 15 (any), which means she's checking every direction. thorough queen πŸ‘‘

  • -h, --help β€” displays the help text and exits. the classic. the legend. πŸŽ€

πŸ”₯ EXAMPLES πŸ”₯

watch her work:

$ bardecode files/*
files/1.tif: XDM152EU-U [type: code39 at: (1094,392)]
files/2.tif: 471186080198 [type: ean13 at: (1148,32)]
files/3.tif: 06396500104997 [type: code128 at: (578,83)]

three files in, three barcodes decoded out, complete with the type and the exact (x,y) coordinates. she ate and left no crumbs 😭✨


πŸ’– SEE ALSO πŸ’–

  • exactimage(7) β€” go read the big one, bestie, it's the whole toolkit πŸ¦‹

🌸 AUTHORS 🌸

  • Jakub Wilk <jwilk@debian.org> β€” wrote this manual page for the Debian system. 🫢
  • https://exactcode.com/opensource/exactimage/ β€” this manual page incorporates texts found on the ExactImage homepage. πŸ’œ

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2. πŸ“œ


and that's the whole page, bestie!! πŸŽ€ written by bardecode herself, dated 04/11/2010, from the BARDECODE(1) era of the ExactImage manual. go decode some barcodes, you've got this πŸ’…πŸ’–βœ¨