Frage

I am trying to use the following Python code to grab images from Google:

BASE_URL = 'https://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=large&q=%s&start=%d'

BASE_URL = BASE_URL %(name, count)
request = urllib2.Request(BASE_URL)
response = urllib2.urlopen(request)

Then I load the response in a JSON format using simplejson. Is there any way I could use the Search by Image type as 'Face' so that I could retrieve only the faces using Python?

War es hilfreich?

Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top