Versions in this module Expand all Collapse all v0 v0.0.1 Nov 10, 2021 Changes in this version + var ErrDataEcc = errors.New("ecc data error") + var ErrDataOverflow = errors.New("data overflow") + var ErrDataUnderflow = errors.New("data underflow") + var ErrFormatEcc = errors.New("ecc format error") + var ErrInvalidGridSize = errors.New("invalid grid size") + var ErrInvalidVersion = errors.New("invalid version") + var ErrNoQRCode = errors.New("no QR code in image") + var ErrOutOfRange = errors.New("out of range") + var ErrUnknownDataType = errors.New("unknown data type") + type QRData struct + DataType int + EccLevel int + Eci uint32 + Mask int + Payload []uint8 + Version int + func Recognize(img image.Image) ([]*QRData, error) + type Recognizer interface + Begin func() + Count func() int + Decode func(index int) (*QRData, error) + End func() + SetPixel func(x, y int, val uint8) + func NewRecognizer(w, h int) Recognizer