phpimage-processingcomparison

comparing 2 images in PHP


I am aware that there is one more question like mine, but I just thought mine was after all a bit different.

I have to be able to establish if the images are very similar or entirely different...
have a look at the following two images:
lighter image darker image

The first image is a bit lighter than the second image. You can see that on black striped fish in the middle.

So, comparing the md5 hashes doesn't really help. Is there anyother clever way to do it?
thanks!


Solution

  • I am not sure if it would help, but I think if you run the images through GD image processing, it would really help you there!