Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 406297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:28:57+00:00 2026-05-12T17:28:57+00:00

My objective is to supply 2 image files, and get a true/false response as

  • 0

My objective is to supply 2 image files, and get a true/false response as to whether these 2 files could be the same (within an acceptable degree of certainty).

I realize this question falls under artificial intelligence and is much more complex than it appears, so I highly doubt I could (or would even want to) do it myself. What I’m looking for is probably a library or a class. I’m working with PHP.

thanks in advance..

All helpful answers/comments get up voted..

Update:

I wonder if I’m over-complicating it, and maybe a more general library like imageMagick (imagick) could get it done? Anyone who’s more experienced with imageMagick?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:28:58+00:00Added an answer on May 12, 2026 at 5:28 pm

    http://tineye.com/ may be useful if you’re just comparing your own images.

    You should probably do some research on image similarity algorithms, though anything advanced isn’t going to suit a scripting language like PHP. The most simple comparison method would work like this:

    1. Make both images the same size if they are not already.
    2. Compare each corresponding pixel and decide how similar they are. Simplest method is to take the difference between the red values, then the blue values, then the green values, and average them.
    3. Take the average difference from all the pixels. If it’s below some threshold you decide, then the images are the same or similar. You’d need to test with various images to decide on a threshold.

    I’m not totally familiar with ImageMagick and PHP’s image functions so not sure if you can do all of this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Objective-C has no namespaces; it's much like C, everything is within one global namespace.
Objective Change these filenames: F00001-0708-RG-biasliuyda F00001-0708-CS-akgdlaul F00001-0708-VF-hioulgigl to these filenames: F0001-0708-RG-biasliuyda F0001-0708-CS-akgdlaul F0001-0708-VF-hioulgigl Shell
My objective is to get the answer from up to 6000 Urls in the
Objective-C / Cocoa: I need to load the image from a JPG file into
Objective-C is really wierd, i can't get the hang of it... I have a
My objective is a convention for thread-safe functionality and exception handling within my application.
Objective-C categories are extremely useful, but there are some problems with this power. These
In Objective-C how to get instance name by certain rules? For example: Type1: self.btn(0,1,2,3,4,5,6,7,8,9...)
Objective: take a UIImage, crop out a square in the middle, change size of
Objective : Make a progress bar where users can check how much of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.