imaker

package
v0.0.0-...-6f1ede5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageMakerUtil

type ImageMakerUtil struct {
	LearnDir    string
	AnswerDir   string
	OutputFile  string
	ImageHeight int
	ImageWidth  int
}

func Init

func Init(learnDir, answerDir, outputFile string, imageWidth, imageHeight int) ImageMakerUtil

func (ImageMakerUtil) Decode

func (i ImageMakerUtil) Decode(path string) ([]float64, error)

func (ImageMakerUtil) Encode

func (iu ImageMakerUtil) Encode(b []float64) (interface{}, error)

func (ImageMakerUtil) MakePattern

func (i ImageMakerUtil) MakePattern() ([]util.DataSet, error)

Jump to

Keyboard shortcuts

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