pokervision

package module
v0.0.0-...-22b89d6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2016 License: GPL-3.0 Imports: 17 Imported by: 0

README

poker-vision

Image recognition and OCR

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFileLoader

func SetFileLoader(loader FileLoader)

SetFileLoader sets the file loader to use.

Types

type FileLoader

type FileLoader interface {
	Load(fileName string) io.Reader
}

FileLoader is the interface to file loaders.

type Matcher

type Matcher interface {
	Match(srcName string, img image.Image) string
	VisualizeSource(img image.Image, srcs []string) image.Image
}

Matcher is the public interface to a matcher.

func NewMatcher

func NewMatcher(refFile string) (Matcher, error)

NewMatcher creates a new matcher from a JSON encoded file.

Jump to

Keyboard shortcuts

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