Skip to content

Instantly share code, notes, and snippets.

@buzztaiki
Created February 4, 2022 15:32
Show Gist options
  • Save buzztaiki/978e1de9e04792f9cb2150e43c246f4f to your computer and use it in GitHub Desktop.
Save buzztaiki/978e1de9e04792f9cb2150e43c246f4f to your computer and use it in GitHub Desktop.
LinuxでファイルからQRコードを読み取る

LinuxでファイルからQRコードを読み取る

https://github.com/mchehab/zbar を使う。

$ zbarimg -q --raw qrcode.png
$ cat qrcode.png  | zbarimg -q --raw -

Linux って書いたけど MacOS でも Windows でも動くらしい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment