readqr

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 1

README

readqr

QR code reader (decoder).

import "github.com/caiguanhao/readqr"

f, err := os.Open("qrcode.png")
if err != nil {
	panic(err)
}
defer f.Close()
result, err := readqr.Decode(f)
if err != nil {
	panic(err)
}
fmt.Println(result)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (string, error)

func DecodeImage

func DecodeImage(img image.Image) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL