Skip to content
/ qrcode Public

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

License

Notifications You must be signed in to change notification settings

tuotoo/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)

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages