I'm trying to extract text from an image with google vision api, it works. But I just want to detect part of the image to get certain text.

this is the image I used

[![My image](https://i.stack.imgur.com/UUIPXl.png)](https://i.stack.imgur.com/UUIPXl.png)

I just want to extract all the text from `maybank2u.com` until `From Account:` 
I know there are some tutorials to do this trick by using block but those tutorials are different programming languages.

**My code:**

```
<div class="row">
    <div class="col-12">
        <ol>
            <?php foreach ($text as $key => $texts): ?> 
                <li><h6> <?php echo ucfirst($texts->info()['description']) ?></h6><<br><br> 
                </li>
            <?php endforeach ?>
        </ol>
    </div>
</div>

```

This code will getting all the text from image

**Output:**
[![enter image description here](https://i.stack.imgur.com/Sd6A6.png)](https://i.stack.imgur.com/Sd6A6.png)