Image Compare is a lightweight, standalone and offline application to visually compare two images and highlight their differences. This application can be used in desktop computers and mobile phones without requiring installation as it runs entires in a w
npm install image-comparison-vggMore details about Image Compare software application is available in the following websites:
- https://www.robots.ox.ac.uk/~vgg/software/image-compare/
- https://vgg.gitlab.io/image-compare/ (mirror)
The latest version of Image Compare software application is available at: https://www.robots.ox.ac.uk/~vgg/software/image-compare/app/latest/
Use the package manager npm to install image compare.
``bash`
npm install image-compare --save
`
const imageCompare = require('image-comparison-vgg');
imageCompare.initialization().then(load => {
imageCompare.matching('./images/case-1.jpeg', './images/case-2.jpeg', imageCompare.mode[2]).then(percent => {
imageCompare.destroy();
console.log('Match Percent(%)', percent);
});
});
// using async await
(async () => {
await imageCompare.initialization();
let percent = await imageCompare.matching('./images/case-3.jpeg', './images/case-4.jpeg', imageCompare.mode[2]);
imageCompare.destroy();
console.log('Match Percent(%)', percent);
})();
``
Development and maintenance of the Image Compare software has been supported by the VisualAI research grant.
Contact Prasanna Sridhar for any queries or feedback related to this software application.