Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.57 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.57 KB

imageCompare

Small javascript app for quick compare two images (mainly coins images)

Main idea - if we have two images and want compare it, we need align it first via translating, scaling and rotation. In javascript we have setTransform method of canvas' context that can do this transformation, but we need parameters for it. The simplest way to get it is note 3 equal points in each image. When we now it, we can write lineart equation system based on transfom formula.

Workable online version

Disscusion on collectors' forum coins.su (in Russian)

Also I have written an iOS version

<iframe id="ytplayer" type="text/html" width="640" height="360" src="https://www.youtube.com/embed//GvfVq6NqFiU" frameborder="0"></iframe>

Used sources:

ualgebra.js is used for solving equation system

Tabs with HTML5, CSS3 and jQuery

Save to GIF

Working with selection