GitHunt
HY

hyeonjae/qrcode-decode-server

nowp-qrcode-decoder

qrcode-decode-server

Requirement

$ sudo yum install zbar-devel.x86_64
$ pip install Pillow
$ pip install zbarlight
$ pip install flask
$ pip install tornado

Run

$ python server.py

Test

Run test

$ curl -XGET 'http://localhost'

Request

$ curl -XPOST 'http://localhost/decode' -d '{"url": "https://goo.gl/vEbsWD.qr"}'

Response

{
  "codes": [
    "github.com/hyeonjae/qrcode-decode-server"
  ]
}

Languages

Python100.0%

Contributors

Created November 17, 2016
Updated August 3, 2020
hyeonjae/qrcode-decode-server | GitHunt