You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
414 B

package main
import "fmt"
func main() {
//first, read the example images
examplesImg := readExamples()
//fmt.Println(examplesImg)
//now, read the target image
timg := readImage("images/test.png")
//fmt.Println(timg)
numCoincidences := analyzeImg(examplesImg, timg)
_, result := printSortedMapStringInt(numCoincidences, 0)
fmt.Print("The image contains the number: ")
c.Green(result)
//runServer()
}