How does reverse image searching work?

657 views

How does reverse image searching work?

In: Other

4 Answers

Anonymous 0 Comments

It depends on what kind of search you mean.

If you’re asking about finding the source or a higher resolution version of an image, like what TinEye provides, that involves taking the input image, crushing it down to a fuzzy mess, and comparing the crushed versions to all the other crushed versions it has already seen. Two images that were very similar should produce even more similar crushed results.. think how hard it would be to tell two nearly identical twins apart if you had poor eyesight and you took off your glasses. This allows the algorithm to run way more comparisons, since the crushed versions have way less data in them. This should weed out almost all the garbage that didn’t even look remotely similar to the original. From there, you can do as many extra passes you want with progressively less and less crushing each time until you get a satisfactory level of similarity.

Searches that actually try to guess what is *in* the image and subsequently try to find more of it, like Google reverse image search, are far more complex. These tend to be computer systems that are fed an obscene amount of training data to teach them how to identify certain objects, until they become sort of good enough at finding those objects in something it has never been seen before. (I would suggest CGP Grey’s video [How Machines Learn](https://youtu.be/R9OHn5ZF4Uo) for an ELI5-friendly introduction to one of the simpler ways this can be done.)

These search tools can also store metadata they scrape up along with each image while out on their adventures to scrape up new images to store in its database of things it’s seen. This metadata can be things like the file’s name, when and where it was taken or made, what website it was on, and what other text was on the page with it. This data can be thrown into more mundane keyword scraping algorithms to be used as extra clues to what it may contain.

You are viewing 1 out of 4 answers, click here to view all answers.