Picture analyzer
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.
 
 
 

13 lines
311 B

var resemble = require('./resemble');
module.exports = function(image1, image2, options) {
return new Promise(function(resolve, reject)) {
resemble.compare(image1, image2, options, function(err, data) {
if (err) {
reject(err);
} else {
resolve(data);
}
});
});
};