Skip to content

Allow you to calculate the difference between two images. Primarily for documents for now.

License

Notifications You must be signed in to change notification settings

pejia-wish/image-diff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-diff

Go Report Card

Allow you to calculate the difference between two images. Primarily for documents for now.

You give it first image, like that:

test-only-text

And second one:

test-text-number

And you get diff percent (6.25%) and visual diff:

diff

How to get and use

go get -u github.com/olegfedoseev/image-diff

And in you code:

import "github.com/olegfedoseev/image-diff"

diff, percent, err := diff.CompareFiles("test-only-text.png", "test-text-number.png")
if percent > 0.0 {
    fmt.Printf("images is different!")
}

About

Allow you to calculate the difference between two images. Primarily for documents for now.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%