Text detection

The text in an image can be identified by using the text_detection method, as follows:

response_text = client.text_detection({'source' : {'image_uri': "gs://kish-
bucket/11.jpg"},})

The output of response_text is as follows:

Note that the output of the text_detection method is the bounding box of the various text that is present in the image.

Also, note that the description of text_annotations provides the text detected in the image.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset