For example, given a image with a "CAUTION Otters crossing for next 6 miles" sign:
response = client.text_detection(image=image)
text = response.text_annotations
for text in text:
print(text.description)
This will print this:
CAUTION
Otters crossing
for next 6 miles
CAUTION
Otters
crossing
for
next
6
miles
However, I just want the first part:
CAUTION
Otters crossing
for next 6 miles
Is there a way to make that happen?