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: 457 All time: 6,034 This week: 261Up
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: 33
All time rank: 331943 in Argentina Argentina
Week rank: 793 Up12 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  
 0%
Total:457
This week:0
All time:6,034
This week:261Up
User Ratings User Comments (1)
 All time
Utility:43%StarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:3141
 
Works perfectly
1 year ago (Embrace Humanity)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.