r/howdidtheycodeit • u/Gloomy-Status-9258 • May 14 '26
Before machine learning era, how could search engines show images which fitting a query?
My guess is to identify filename and article name, and ranked by user preferences. But are there better approaches?
3
Upvotes
24
u/fiskfisk May 14 '26
Usually by context around the image, specific terms that were used to link to the image, the image's title and alt-description, descriptions on pages linking to the page with the image ("see a photo of a bald eagle on this page").
11
u/sebovzeoueb May 14 '26
Just FYI machine learning was invented in the 1950s, so the "machine learning era" goes back a lot further than you think!
4
u/stumpychubbins May 16 '26
Machine learning, in particular image classification algorithms, predate search engines. That being said, even now it’s often more useful to look at the text surrounding the images than the images themselves. If you search for some random person you can’t expect the AI to have memorised everyone’s face, it needs to use page text to show you the correct results. That’s not even taking into account if that person is wearing a mask, wearing heavy makeup, etc, or if two people/characters/animals/whatever else look identical.
1
u/FrankieNoodles May 14 '26
Meta data on the images?