Documentation ¶
Index ¶
Constants ¶
View Source
const ( TableUPPER = Table(iota) TableLOWER TableMIXED TableDIGIT TablePUNCT TableBINARY )
Variables ¶
View Source
var ( UPPER_TABLE = []string{ "CTRL_PS", " ", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "CTRL_LL", "CTRL_ML", "CTRL_DL", "CTRL_BS", } LOWER_TABLE = []string{ "CTRL_PS", " ", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "CTRL_US", "CTRL_ML", "CTRL_DL", "CTRL_BS", } MIXED_TABLE = []string{ "CTRL_PS", " ", "\001", "\002", "\003", "\004", "\005", "\006", "\007", "\b", "\t", "\n", "\013", "\f", "\r", "\033", "\034", "\035", "\036", "\037", "@", "\\", "^", "_", "`", "|", "~", "\177", "CTRL_LL", "CTRL_UL", "CTRL_PL", "CTRL_BS", } PUNCT_TABLE = []string{ "FLG(n)", "\r", "\r\n", ". ", ", ", ": ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "<", "=", ">", "?", "[", "]", "{", "}", "CTRL_UL", } DIGIT_TABLE = []string{ "CTRL_PS", " ", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ",", ".", "CTRL_UL", "CTRL_US", } DEFAULT_ENCODING encoding.Encoding = charmap.ISO8859_1 )
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Detector The main class which implements Aztec Code decoding -- as opposed to locating and extracting the Aztec Code from an image.
func NewDecoder ¶
func NewDecoder() *Decoder
func (*Decoder) Decode ¶
func (this *Decoder) Decode(detectorResult *detector.AztecDetectorResult) (*common.DecoderResult, error)
Click to show internal directories.
Click to hide internal directories.