I’m training myself to learn machine learning and A.I. When I get started with Tensorflow for transfer learning, I would like to have some images for my training set. The images can be easily found by Google Image Search but I found no way to get all found images downloaded to my local machine. There’re some add-ons for Google Chrome such as Firefox but they don’t really work. They crash most of the time when I start to download them. Therefore I have to write myself a small tool to get this job done for me. In this blog post, I would like to show you how I made it with Python.
Google search engine has a market share of over 60%. For some advanced features, such as searching metadata or relevant info of an object, we maybe want to integrate search result of Google search engine instead of inventing our own one. In this post, I would like to write down the steps how we can consume Google Custom Search API in .Net. The code itself is pretty short. However, because of lacking documentation it’s really time consuming to find out how the code should be, where to get the API Key or Search Engine ID for authentication. These all settings stuff drive me crazy because they locate on different control panel.
Please note that Custom Search Engine is a free API edition. For CSE users, the API provides 100 search queries per day for free. If you need more, you may sign up for billing in the Developers Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day.
The other paid version is Google Site Search which is out of scope of this post.