Click here to Skip to main content
13,446,544 members (41,198 online)
Click here to Skip to main content
Add your own
alternative version


11 bookmarked
Posted 14 May 2012

Using Google Search By Image within your .NET Application

, 14 May 2012
Rate this:
Please Sign up or sign in to vote.
Using Google Search By Image within your .NET application


This tip will illustrate the use of Google Search by Image functionality in your .NET Application.


A couple of months ago, Google launched the new search by image service, the one that allows you actually to identify images just by dragging them to the search bar or simply attach a link for a specific image and the service will tell you what is going to be like, inside the image !

It seems to be a great concept, and it would be greater if Google made it available for the good of developers to help them implement stunning scenarios that leverage this service. I’ve been using Google search by image for quite good time, I started to investigate how this technology works, basically it “converts” your image to a hash and sends it to the server then the server replies to you back with a search query. This tutorial will present how to integrate this service into a desktop application (or mostly a Windows 8 application, in the future maybe) to build a Goggles-like where you can give it a URL then get a search query describing the image content and when your business will start!

This tutorial will not take you through how to use this service to build a mobile application although these sorts of scenarios should be prioritized first in such applications, but the fact that the helper still in its alpha release makes it limited to the kind of applications highlighted in this tutorial.

Still wondering what to do? Actually, you can implement identification scenarios, images classification and everything related to what would an image "say".

Okay, let’s start by the helper itself, SBI Sharp is a little class that helps you do all the above and it's available at Codeplex.

  1.  Add SBISharp.dll as a reference to your project:

    Add a reference

  2. Add the following code snippet:

    [__em__]var result = SBISharp.SBIHelper.SearchByImage("YOUR IMAGE URL HERE");

I've tested it with this picture:

and it gave the following:

Now go ahead and check what you’re able to do with it !

The next tutorial will take you through the helper itself and the way it interacts with Google Search by image service.

Happy coding!


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Mohamed Amine Aboura
Software Developer
Algeria Algeria
No Biography provided

You may also be interested in...


Comments and Discussions

BugNot working Pin
Burkay Ozdemir2-Nov-14 23:41
memberBurkay Ozdemir2-Nov-14 23:41 
Questionhow helpful this can be from a developer point of view Pin
Sunnykumar0814-May-12 20:52
memberSunnykumar0814-May-12 20:52 
AnswerRe: how helpful this can be from a developer point of view Pin
Mohamed Amine Aboura16-May-12 3:04
memberMohamed Amine Aboura16-May-12 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03-2016 | 2.8.180314.2 | Last Updated 14 May 2012
Article Copyright 2012 by Mohamed Amine Aboura
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid