In [2]:
#This script detects text/OCR in within an image. Jack and Jill ...
import argparse
import io
from google.cloud import vision
client = vision.Client()
image = client.image(source_uri='http://www.siyalla.com/kids/nursery_rhymes/jack-and-jill.jpg')
texts = image.detect_text()
texts[0].locale
x=texts[0].description
print "The image text says :"
print x
In [ ]:
In [ ]: