Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageClassifierUtil ¶
func Init ¶
func Init(labels []string, learnDir string, imageHeight, imageWidth int) ImageClassifierUtil
func (ImageClassifierUtil) Decode ¶
func (i ImageClassifierUtil) Decode(path string) ([]float64, error)
func (ImageClassifierUtil) Encode ¶
func (i ImageClassifierUtil) Encode(b []float64) (interface{}, error)
func (ImageClassifierUtil) MakePattern ¶
func (i ImageClassifierUtil) MakePattern() ([]util.DataSet, error)
Click to show internal directories.
Click to hide internal directories.