image-comparison-vgg

1.0.2 • Public • Published

Image Compare

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 web browser. Image Compare is an open source software developed and maintained by the VGG Oxford.

More details about Image Compare software application is available in the following websites:

The latest version of Image Compare software application is available at: https://www.robots.ox.ac.uk/~vgg/software/image-compare/app/latest/

Features

  • Offline : Can be used without an active internet connection.
  • Open Source : Complete freedom to use this application or modify its source code.
  • Standalone : No installation is required as the application runs entirely in a web browser.
  • Visualisations : Several ways to visualise the similarity and difference between images.
  • Light Weight : The full application is less than 2Mb in size and therefore is faster to load and easier to share.
  • Advanced Mode : Choose geometric transformation (e.g. similarity, affine, thin-plate spline, etc.)

Use Cases

See https://www.robots.ox.ac.uk/~vgg/software/image-compare/#usecases which shows the application of Image Compare software for the following:

  • Art Restoration : Identify the changes caused by art restoration process
  • Digital Collation : Compare different editions of the same book and identify variants
  • Photograph : Identify alteration in digital photographs
  • Satellite : Identify changes in satellite imagery
  • Music : Identify variants in music sheet

NodeJS Installation

Use the package manager npm to install image compare.

npm install image-compare --save

Usage

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);
})();

About

Image Compare software application is developed and maintained by Prasanna Sridhar, Abhishek Dutta and Andrew Zisserman.

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.

Readme

Keywords

Package Sidebar

Install

npm i image-comparison-vgg

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

37.9 MB

Total Files

146

Last publish

Collaborators

  • megaads