PHP Classes

PHP Image Compare: Compare images to determine how similar they are

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 471 All time: 5,985 This week: 173Up
Version License PHP version Categories
compare-images 1.0GNU General Publi...5.0Algorithms, PHP 5, Graphics
Description Author

This class can compare images to determine how similar they are.

It can take the path of two image files and computes a hash value for each based on a resized version of the image then turned into black and white.

The class returns the similarity level in terms of percentage after comparing the hash values.

In Spanish:

Con este codigo podemos realizar la comparacion entre dos imagenes y obtener un grado de similitud, abre las puertas para investigar sistemas de busquedas.

Picture of Damian Cipolat
Name: Damian Cipolat <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: 35
All time rank: 332344 in Argentina Argentina
Week rank: 587 Up7 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file basefilecomparer.php Example archivo base comparador de imagenes
Plain text file comparer.php Class image comparer

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,985
This week:173Up
User Ratings User Comments (1)
 All time
Works perfectly
3 years ago (Embrace Humanity)