Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Layout Parser in Document AI: Boundin box issue

I'm using the Layout Parser in Document AI, but it doesn't seem to return bounding box details. Is there a way to retrieve these details from the API?

Currently, the response I receive looks like this:

{
  "document": {
    "documentLayout": {
      "blocks": [
        {
          "blockId": "1",
          "textBlock": {
            "text": "Firefox",
            "type": "header"
          },
          "pageSpan": {
            "pageStart": 1,
            "pageEnd": 1
          }
        }
      ]
    }
  }
}

 

4 REPLIES 4