from google.cloud import vision
import io
client = vision.ImageAnnotatorClient()
with io.open("C:/YOUR/IMAGE/PATH", "rb") as image_file:
content = image_file.read()
image = vision.Image(content=content)
response = client.text_detection(image=image)
texts = response.text_annotations
print(texts[0].description)
>>> 8r 57