Skip to content

Instantly share code, notes, and snippets.

View memoryruins's full-sized avatar

memoryruins

View GitHub Profile
@Mathspy
Mathspy / comparison.md
Last active November 4, 2022 09:52
Visual diffing algorithms comparison

Thanks to Awesome Visual Regression Testing and Screenster.io for compiling lists of the things in the space. The research into what each uses was done by me through digging their code or their READMEs.

  • OSnap: ReasonML. Uses ODiff, the main contender I am looking at.
  • basset: Python. Uses a handrolled algorithm, looks fairly naive, only 63 lines of code
  • AyeSpy: JavaScript. Uses looks-same
  • Wraith: Ruby. Uses ImageMagick (shells out to it). Made by BBC lol
  • BackstopJS: JavaScript. Uses hash comparison then @mirzazeyrek/node-resemble-js a fork of Resemble.js.
  • Galen: Java. Uses a handrolled algorithm named rainbow4j. Think they might be looking for a new name now.
  • Creevey: JavaScript. Uses pixelmatch.