Tiny gem that simplifies identification of similar web images
Install phashion dependencies
On Ubuntu 12.04
sudo adt-get update
sudo apt-get install libjpeg-dev libpng-dev imagemagick
Add image_distance to your Gemfile
gem 'image_distance'
Pass two image URLs to the distance class method
ImageDistance.distance(image_url_1, image_url_2)
See phasion's documentation for details about image comparison values.
Copyright (c) 2014 Kyle Van Wagenen, released under the MIT License