google / butteraugli

butteraugli estimates the psychovisual difference between two images
Apache License 2.0
1.96k stars 137 forks source link

it's too slow (takes more than a minute to compare 12MP images) #39

Open magicgoose opened 6 years ago

magicgoose commented 6 years ago

I used the makefile to build it and… it's prohibitively slow.

Androbin commented 6 years ago

The computation is currently done single-threaded on CPU. Since it should be highly parallelizable, I suggest rewriting it to run on GPU. There are various options available. Ranging from OpenCL or CUDA to TensorFlow. Alternatively, we could try making it run on multiple CPU cores.