qrcode

by tuotoo

tuotoo / qrcode

qrcode scanner ( decoder ) by golang 二维码扫描识别

225 Stars 52 Forks Last release: Not found GNU General Public License v3.0 64 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

QR Code Decoder by Golang

This Project is Developing.

Plan

  1. 动态二值化
  2. 提升图片扫描的速度:OK
  3. 修复标线取值: OK
  4. 容错码纠正数据:OK
  5. 数据编码方式 Numbert alphanumeric    8-bit byte: OK    Kanji
  6. 识别各角度倾斜的二维码

Example

fi, err := os.Open("qrcode.png")
if err != nil{
    logger.Println(err.Error())
    return
}
defer fi.Close()
qrmatrix, err := qrcode.Decode(fi)
if err != nil{
    logger.Println(err.Error())
    return
}
logger.Println(qrmatrix.Content)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.