Fix typo in README.md (#32)

This commit is contained in:
dirtsea 2019-09-08 02:03:41 +10:00 committed by Dong-hee Na
parent 6392b0bac9
commit 32a1fdcbe8

View File

@ -38,7 +38,7 @@ func main() {
hash1, _ = goimagehash.DifferenceHash(img1)
hash2, _ = goimagehash.DifferenceHash(img2)
distance, _ = hash1.Distance(hash2)
fmt.Printf("Distance between images: %v\n", distance)ls
fmt.Printf("Distance between images: %v\n", distance)
width, height := 8, 8
hash3, _ = goimagehash.ExtAverageHash(img1, width, height)
hash4, _ = goimagehash.ExtAverageHash(img2, width, height)