Skip to content

jacol/ImageMatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageMatcher

Computing how similar are 2 photos

Usage

var reader = new ImageReader();
var strategy = new StrictMatcherStrategy();            
var runner = new ImageMatcherRunner(reader, strategy);
var result = runner.RunMatcher("TestData/TestImage.png", "TestData/TestImage.png", true, 320);

First 2 arguments are files to compare. Third argument tells to resize image before diff compare + forth param with target width after resize.

Result is number from 0 to 100. 0 means photots are exacly the same (based on strategy used). 100 is black image vs. white image - 100% dismatch. So far there is only one strategy - but so far it was sufficient to get reasonable results.

About

Matching two images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages