D
D
DrMorro2018-11-26 13:50:38
Google
DrMorro, 2018-11-26 13:50:38

How to use python and google pictures?

The task is this: I point out to the python a picture that it uploads to google images, receives an answer and looks for it on another site and opens the search result.
Here is an example: I specify a picture of borscht, upload it to google images, it tells me that this is borscht. Then, I paste the received answer "Borscht" into some recipe site and open this page.
The language is python.
Please point out the library and functions needed to accomplish such a task, thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Tikhonov, 2018-11-26
@tumbler

https://cloud.google.com/vision/docs/reference/rest/
Here is a description of the corresponding Google REST API, the required libraries are requests + json.

I
Ivan, 2018-11-26
@Iv_and_S

It seems that the task is somehow not fully indicated.
Offhand:

import os 
import requests
import beatufilsoup

if you need to imitate a browser, selenium, or something else,
but more prosky / not a proxy, how many threads, etc..

D
DrMorro, 2018-11-27
@DrMorro

In general, so that you do not have to read a lot, I will ask a simple question. Is it possible to upload an image to google images so that it says what is shown on it? If so, how?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question