Hacker GitHub

← All repos

n7olkachev/imgdiff

View on GitHub ↗ ★ 1,703 Go

Faster than the fastest in the world pixel-by-pixel image difference tool.

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2020-12-12 · latest 2020-12-13

Mentions per year 5 mentions · busiest year 2020 (5)
20082026
  1. This is the line that makes the difference: https://github.com/n7olkachev/imgdiff/blob/master/pkg/imgdif...
  2. Worth noting it's ~100-lines of Go code that's quite readable: https://github.com/n7olkachev/imgdiff/blob/master/pkg/imgdif... https://github.com/n7olkachev/imgdiff/blob/master/pkg/yiq/de...
  3. https://github.com/n7olkachev/imgdiff/blob/9b2a87e1b729c70b5... Yep, uses as many goroutines as the number of CPUs, that's about it. Saying it's 3x faster or whatever in "benchmarks" without even saying what CPU is used in the benchmarks…
  4. Even before you get into GPU, it looks like you could do the normalisation here https://github.com/n7olkachev/imgdiff/blob/master/pkg/yiq/de... using _mm_mul_ps or _mm256_mul_ps depending on availability instead of standard math. (CPU…
  5. ▲ 181
    Imgdiff: Faster than the fastest pixel-by-pixel image difference tool
    story by dcu · 2020-12-12 · 62 comments