Skip to content

Instantly share code, notes, and snippets.

@lxyuma
Created May 7, 2014 03:08
Show Gist options
  • Save lxyuma/99c0dee18259ac5ac682 to your computer and use it in GitHub Desktop.
Save lxyuma/99c0dee18259ac5ac682 to your computer and use it in GitHub Desktop.
zbar barcodeでバーコードを読み取る
# env
ubuntu12
# install
```bash
sudo apt-get install libzbar0
sudo apt-get install libv4lconvert0
sudo apt-get install zbar-tools
```
# use
```bash
$ zbarimg 写真\ 2014-05-07\ 12\ 02\ 46.jpg
EAN-13:1923055028005
EAN-13:9784873115863
scanned 2 barcode symbols from 1 images in 0.4 seconds
```
trimingも不要みたい
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment