Skip to content

hyeonjae/qrcode-decode-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"
  ]
}