将图像上传到Google Reverse Image Search? [英] Upload images to Google Reverse Image Search?

查看:247
本文介绍了将图像上传到Google Reverse Image Search?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将数千张图片上传到Google图片的方式(最好是在C#中),如果Google为该图片找到更高的分辨率,则用更高的分辨率替换每张图片? (上传图片的基本代码片段并获得结果就足够了)

a way (preferably in C#) to upload thousands of images to Google Images, and replace each with a higher resolution if Google finds higher resolution for that pic? (basic code snippet to upload image and get result is enough)

推荐答案

正式地说,您需要使用Google Custom Search API,它允许有限数量的免费搜索,并且收费高于此。

请参阅 https://开发人员。 google.com/custom-search/json-api/v1/overview [ ^ ]了解更多信息。



通过http调用执行此操作需要抓取结果,只能是如果您的图片可以通过网址访问,并且过于复杂而无法放入基本代码段。更不用说它违反了Google的服务条款,很快就会阻止您的IP。
Officially, you need to use the Google Custom Search API, which allows limited number of searches for free, and has fees above that.
See https://developers.google.com/custom-search/json-api/v1/overview[^] for more information.

Doing it through a http call would require scraping the results, can only be done if your images are reachable by URL, and is far too complicated to put in a 'basic code snippet'. Not to mention that it's a violation of Google's Terms of Service and will get your IP blocked soon.


这篇关于将图像上传到Google Reverse Image Search?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆