Tag: Phashion
require 'phashion' img1 = Phashion::Image.new(filename1) img2 = Phashion::Image.new(filename2) img1.duplicate?(img2) # --> true
require 'phashion' img1 = Phashion::Image.new(filename1) img2 = Phashion::Image.new(filename2) img1.distance_from(img2)