{"id":766,"date":"2011-12-06T08:28:51","date_gmt":"2011-12-06T14:28:51","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=766"},"modified":"2011-12-06T08:32:06","modified_gmt":"2011-12-06T14:32:06","slug":"image-recognition-automation-fail","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/766","title":{"rendered":"Image Recognition Automation Fail"},"content":{"rendered":"<p>I had a friend who asked me to take a quick look at a business problem he was having.\u00a0 He had a set of photos (of vinyl record albums) that he was looking at to identify the artist.\u00a0 After finding the artist, he&#8217;d do some additional categorization work and then push the image and metadata to a ecommerce site he is running.<\/p>\n<p>He wanted a way to more quickly identify the artist and album, preferably without his intervention.<\/p>\n<p>The first thing I suggested was <a href=\"https:\/\/www.mturk.com\/\">Mechanical Turk<\/a>, as this seemed like a great example of a <a href=\"https:\/\/www.mturk.com\/mturk\/help?helpPage=overview#what_is_hit\">Human Interaction Task<\/a>.\u00a0 However, my friend tried this and found it to be more work (mostly proofing, I think) than it was help.<\/p>\n<p>He also pointed out that <a href=\"http:\/\/images.google.com\/\">Google Image Search<\/a> does exactly what he wants.\u00a0 You can post an image or URL to it (you have to use the camera in the search box), and it will give you back like images, best guess for the image matching, and links related to the image.\u00a0 Pretty cool!<\/p>\n<p>However, there is no API for the new Google Image Search.\u00a0 Sure, you have the <a href=\"http:\/\/code.google.com\/apis\/imagesearch\/\">old, deprecated Images API<\/a>, but it doesn&#8217;t have access to post an image or a URL, just keywords.\u00a0 A bit of looking around revealed <a href=\"http:\/\/stackoverflow.com\/questions\/3356422\/google-image-search-search-similar-images\">this StackOverflow post<\/a>, which deconstructs the new Image Search parameters.\u00a0 However, the deconstructed URL gives back javascript which needs to be executed by a browser.\u00a0 I looked briefly at Selenium and webdriver to do that, but couldn&#8217;t figure it out.<\/p>\n<p>I also looked at <a href=\"http:\/\/www.kooaba.com\/\">Kooaba&#8217;s API<\/a>, but they didn&#8217;t get back to me when I signed up for a free developer account, and their API only covers books, CDs and DVDs.\u00a0 Also from <a href=\"http:\/\/stackoverflow.com\/questions\/3106560\/api-for-google-goggles-or-visual-search\">a StackOverflow post<\/a>, I looked at <a href=\"http:\/\/www.macroglossa.com\/\">MacroGlossa<\/a> and <a href=\"http:\/\/developer.iqengines.com\/\">IQEngines<\/a>.\u00a0 Neither of them seemed to work&#8211;MacroGlossa wanted a category (and, shocker, vinyl record albums was not a category) and IQEngines let me submit an image wasn&#8217;t successful in identifying it.<\/p>\n<p>I had to admit I was defeated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a friend who asked me to take a quick look at a business problem he was having.\u00a0 He had a set of photos (of vinyl record albums) that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,4],"tags":[],"class_list":["post-766","post","type-post","status-publish","format-standard","hentry","category-cloud-computing","category-technology"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=766"}],"version-history":[{"count":2,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/766\/revisions"}],"predecessor-version":[{"id":771,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/766\/revisions\/771"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}