Skip to content
/ qrcode Public
forked from tuotoo/qrcode

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

License

Notifications You must be signed in to change notification settings

org-go/qrcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Decoder by Golang

This Project is Developing.

Plan

  1. 动态二值化:
  2. 提升图片扫描的速度 OK
  3. 修复标线取值 OK
  4. 容错码纠正数据 OK
  5. 数据编码方式
    Numbert
    alphanumeric OK
    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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%