ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Does Google Know What an Image or Picture Is About?

Updated on January 7, 2013
Two models in the park.
Two models in the park. | Source

Google's "Search By Image" At Work

Google knows all kinds of things. Things you would never even think they could figure out.

I was reading a discussion about Google, SEO, and images. The main topic is irrelevant for our purposes, but someone asserted in the discussion that Google didn't know what an image was about - therefore Google wouldn't know whether the image was relevant to your content or whether the caption was relevant to your image.

In theory, this would mean that you could upload any image, give it an alt tag to describe it the way you want, attach a caption that you like, and have it be "relevant" to your content. So the argument went, the image, to Google's spider, is nothing more than the text of the "alt" tag.

Well, as it turns out, Google does have an idea what a picture is about. The algorithm isn't foolproof, and Google's knowledge of an image depends a lot on how common it is and how recognizable its subject is.

But, given the fact that we don't live in a science fiction movie, it's still pretty amazing. Let's take a look at how Google's "Search by Image" feature works. We'll use a couple examples.

Searching By Image in Google

First, go to images.google.com, or go to Google and click on "Images" in the navigation bar. This will bring up the Google Image search.

Normally, you might type in a descriptive phrase to look for an image. You may not realize, however, that you can actually use and image as a "search query" of sorts. You simply take an image from your desktop or Windows explorer and drag-and-drop it into the search box.

For a first example, I'll take the image above (of two models, wearing white, hanging out with a lion statue in the park). It's important to note that there is no metadata attached to this image, and it has never been uploaded publicly on the Internet. It's a leftover photo from a shoot I did last summer, and we're not giving Google anything to work with besides the actual image.

This is what comes up.

At the top, you have the original image. Then you have a section titled, "Visually similar images" and a 4x7 matrix of photo thumbnails.

What's happened is that Google has used an algorithm to match images with similar color profiles to our original picture.

Obviously, there was no exact match because this image doesn't appear in Google's index. Depending on how you define the image, there are some surprising matches, though.

If the image is about people wearing white, then it's spot on. One of the 28 photos doesn't include people (or a person-like doll) and one of the photos has a person wearing a significantly different color. The other 26 photos are all similar, in that they feature people wearing white.

If the image is about cute girls, then it's got about a 50% success rate. About half of the images feature some kind of attractive female who appears to be modeling.

Oddly enough, the only way that this search really fails is that there are zero black girls in the image results. To a human, it's obvious that the models are black. To a computer algorithm, I can see how this would be confusing because the models are so small and their skin color is such a small portion of the image's color profile.

What Happens With a More Common Photo?

Ok, that's kind of cool. Amazing, maybe, but it still doesn't prove that Google knows what the image is about. It's done some cool algorithmic magic, but it hasn't "defined" the image.

What happens if we search for a different image that is in Google's index? Let's try searching again with the image to the top of a pair of cute puppies. I found this in Google images myself by searching for "puppies" or something similar.

I then downloaded the image and inserted it into the search query the same way I did with my own photo the first time.

Well that's different. Now, we have a whole new kind of search results.

First, notice that underneath the image, Google tells us what it thinks the image is about. And damn it if they aren't right!

Google's "Best Guess" for this image is: cute dogs and puppies. I'd say that's a pretty good description.

Below that, you have a YouTube search result for "cute dogs and puppies" and a related website.

Then, you've got a selection of 8 similar photos. Three of them look like the same picture, perhaps cropped differently. The other 5 are clearly pictures of cute dogs and puppies. They're all extremely relevant to the original picture.

And at the bottom, there is a list of pages that include the same exact photo. Because Google knows everything, and it can match two photos together.

So... Does Google Know What Images Are About?

Google's algorithm may not be perfect. But Google is definitely working on understanding images the way humans do.

The image algorithm all by itself can find images that look similar. But, these may not be the exact same subject and Google will have trouble nailing down the topic.

However, if you feed it an image that is in it's database, it can definitely figure out what the image is about. Most likely, it uses it's giant web index to compare the "alt" tag and contextual text around the images on different pages. This can often yield a perfect description of the photo.

This doesn't mean that irrelevant images are good or bad for SEO. I couldn't tell you that without any certainty.

All I can tell you is that Google is quickly learning what images are about. Cause, well, Google knows everything. Or it will in a few more years.

working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)