dependencies
sudo pip install Pillow colorthief
sudo apt-get install python-tk
sudo apt-get install python-imaging-tk
Use:
python diff.py $path_img1 $path_img2 $pallete
$pallete = number of prominent colors in pallete - int range(1,7)
The slider controls the tolerance or the opacity or the 2 image slide view depending on the radio button selected