Documentation ¶
Index ¶
- Variables
- func Blocks(data QRData, level ECLevel, mask QRMask) ([][]byte, error)
- func Correct(block []byte, blockInfo BlockInfo) ([]byte, error)
- func CorrectWithErrorCount(block []byte, blockInfo BlockInfo) ([]byte, int, error)
- func Data(input []byte, version uint32) ([]byte, error)
- func Format(data QRData) (ECLevel, QRMask, error)
- type BlockCoord
- type BlockInfo
- type BlockSize
- type BlockedMean
- type Chomp
- type DefaultDecoder
- type Detector
- type ECLevel
- type LineScan
- type Point
- type QRData
- type QRDecoder
- type QRExtract
- type QRExtractor
- type QRFinderPattern
- type QRFinderPosition
- type QRLocation
- type QRMask
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSymbolsFound = errors.New("no symbols found")
Functions ¶
func CorrectWithErrorCount ¶
Types ¶
type BlockCoord ¶
type BlockCoord uint32
type BlockedMean ¶
type BlockedMean struct {
// contains filtered or unexported fields
}
func NewBlockedMean ¶
func NewBlockedMean(blockSize, blockMeanSize uint32) BlockedMean
type DefaultDecoder ¶
type DefaultDecoder struct{}
type Detector ¶
type Detector interface {
Detect(prepared *image.Gray) []QRLocation
}
type QRData ¶
type QRExtractor ¶
type QRExtractor interface {
Extract(*image.Gray, QRLocation)
}
type QRFinderPattern ¶
type QRFinderPattern [7]uint
func (*QRFinderPattern) EstimateModuleSize ¶
func (p *QRFinderPattern) EstimateModuleSize() float64
func (*QRFinderPattern) LooksLikeFinder ¶
func (p *QRFinderPattern) LooksLikeFinder() bool
func (*QRFinderPattern) Slide ¶
func (p *QRFinderPattern) Slide()
type QRFinderPosition ¶
type QRLocation ¶
Click to show internal directories.
Click to hide internal directories.