aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/barcode.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-11 12:05:27 +0100
committerDanilo M. <danix@danix.xyz>2026-11-11 12:05:27 +0100
commitb135bf3bb92e3768cd6af0c74e11d8cbd0e15cc0 (patch)
tree4e9386d90171c9419915a5f6cb6fa57b2f50cc30 /examples/tools/barcode.toml
parentf772ed8bb97cfae73bcffc8323e803599d3460ac (diff)
downloaddesktop-assistant-b135bf3bb92e3768cd6af0c74e11d8cbd0e15cc0.tar.gz
desktop-assistant-b135bf3bb92e3768cd6af0c74e11d8cbd0e15cc0.zip
tools: barcode, read QR and barcodes in attached images
ZXingReader (zxing-cpp) one-line mode, no wrapper script. Images only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/barcode.toml')
-rw-r--r--examples/tools/barcode.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/tools/barcode.toml b/examples/tools/barcode.toml
new file mode 100644
index 0000000..06502ff
--- /dev/null
+++ b/examples/tools/barcode.toml
@@ -0,0 +1,8 @@
+description = "Read barcodes and QR codes in an attached image: QR, Data Matrix, Aztec, PDF417, EAN/UPC, Code 128/39/93, ITF, Codabar, DataBar. One line per code found: file, format, then the decoded text in quotes. 'None' means no code was found; no output at all means the image could not be read. Use it instead of reading a code from the picture yourself."
+command = ["ZXingReader", "-1", "{path}"]
+cloud = ["hetzner"]
+timeout = 20
+
+[params.path]
+type = "string"
+description = "Absolute path of the attached image, from its image block."