Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageComparator

An image comparing console application we built a few years ago.

It also has a thumbnailer.

Comparison strategies

The comparer now supports multiple strategies:

  • legacy (original dominant-channel logic)
  • mad (mean absolute pixel difference on normalized images)
  • dhash (perceptual difference hash)
  • auto (default; chooses a strategy based on image characteristics)

Usage

dotnet run --project ImageComparator/ImageComparator.csproj -- <goodDir> <badDir> [fileType] [--strategy=auto|legacy|mad|dhash] [--benchmark] [--benchmark-iterations=25]

When --benchmark is enabled, the app prints per-strategy timing and similarity output for the first compared image pair.

Tests

Run:

dotnet run --project ImageComparator.Tests/ImageComparator.Tests.csproj

About

An image comparing console application we built a few years ago.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages