image-match
v0.0.1
Published
Compare different images pixel by pixel
Downloads
17
Readme
Image-Match
Compare different images pixel by pixel.
Demo
http://geekplux.github.io/image-match
Installtion
$ npm install image-match
Usage
import the image-match.js
to your HTML.
var similarity = imgMatch.compare(templateImg.src, matchImg.src, function (similarity) {
console.log(similarity);
});
License
MIT © GeekPlux