def detect_text_cloud_storage(uri):
 vision_client = vision.Client()
 image = vision_client.image(source_uri=uri)
 texts = image.detect_text()
 print 'Texts:'
 for text in texts:
  print text.description

def detect_text_cloud_storage ( uri ) : vision_client = vision . Client ( ) image = vision_client . image ( source_uri = uri ) texts = image . detect_text ( ) print 'Texts:' for text in texts : print text . description
detects text in the file located in google cloud storage .