Form parser: short output sample

Return to processor list

Return to output page
{
  "uri": "",
  "mimeType": "application/pdf",
  "text": "This loan agreement is commenced between the parties:\nMortgage
   company contact details:\nPhone number: 1-800-843-8623\n(hereinafter referred
   to as the lender)\nIndividual details:\nPhone number: 650-987-0934\n
   (hereinafter referred to as the borrower)\n[Fill in all details as per
   instructions]\nThe lender is ready to sanction $ 2000 as the loan amount
   at 6.0 %.\n[Total loan amount along with the agreed percentage rate].\n
   This loan agreement is valid from 01/01/2020\u200band is ending on\u200b12/31/2020.\n
   Terms & agreements:\nThe borrower will pay an installment of $ 38.67 per month for
   5 years.\n[Amount & tenure of loan]\nAny late installment will be accepted with
   $ 40 as a fine.\nAgreement Number: 0123456789\nAgreement date: 01/01/2020\n
   Name: Mortgage company A\nAddress: 100 Franklin Street, Mountain View, CA, 94035\n
   Name: Arjun Patel Marital\nstatus:\nAddress: 500 Castro Street, Mountain View, CA 94035\n
   Loan Agreement Form\nSingle ☒ Married ☐ Other ☐\nLoan Agreement Form\n",
  "pages": [
    {
      "pageNumber": 1,
      "dimension": {
        "width": 612,
        "height": 792,
        "unit": "points"
      },
      "layout": {
        "textAnchor": {
          "textSegments": [
            {
              "endIndex": "934"
            }
          ]
        },
        "confidence": 1,
        "boundingPoly": {
          "vertices": [
            {},
            {
              "x": 612
            },
            {
              "x": 612,
              "y": 792
            },
            {
              "y": 792
            }
          ],
          "normalizedVertices": [
            {},
            {
              "x": 1
            },
            {
              "x": 1,
              "y": 1
            },
            {
              "y": 1
            }
          ]
        },
        "orientation": "PAGE_UP"
      },
      "blocks": [
        {
          "layout": {
            "textAnchor": {
              "textSegments": [
                {
                  "endIndex": "88"
                }
              ]
            },
            "confidence": 1,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.11764706,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.2361111
                },
                {
                  "x": 0.11764706,
                  "y": 0.2361111
                }
              ]
            },
            "orientation": "PAGE_UP"
          }
        },
        ...
        {
          "layout": {
            ...
          }
        }
      ],
      "paragraphs": [
        {
          "layout": {
            "textAnchor": {
              "textSegments": [
                {
                  "endIndex": "88"
                }
              ]
            },
            "confidence": 1,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.11764706,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.2361111
                },
                {
                  "x": 0.11764706,
                  "y": 0.2361111
                }
              ]
            },
            "orientation": "PAGE_UP"
          }
        },
        ...
        {
          "layout": {
            ...
          }
        }
      ],
      "lines": [
        {
          "layout": {
            "textAnchor": {
              "textSegments": [
                {
                  "endIndex": "54"
                }
              ]
            },
            "confidence": 1,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.25490198,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.20580809
                },
                {
                  "x": 0.74183005,
                  "y": 0.21843435
                },
                {
                  "x": 0.25490198,
                  "y": 0.21843435
                }
              ]
            },
            "orientation": "PAGE_UP"
          }
        },
        ...
        {
          "layout": {
            ...
          }
        }
      ],
      "tokens": [
        {
          "layout": {
            "textAnchor": {
              "textSegments": [
                {
                  "endIndex": "5"
                }
              ]
            },
            "confidence": 1,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.25490198,
                  "y": 0.20580809
                },
                {
                  "x": 0.28921568,
                  "y": 0.20580809
                },
                {
                  "x": 0.28921568,
                  "y": 0.21843435
                },
                {
                  "x": 0.25490198,
                  "y": 0.21843435
                }
              ]
            },
            "orientation": "PAGE_UP"
          },
          "detectedBreak": {
            "type": "SPACE"
          }
        },
        ...
        {
          "layout": {
            ...
          },
          "detectedBreak": {
            "type": "WIDE_SPACE"
          }
        }
      ],
      "formFields": [
        {
          "fieldName": {
            "textAnchor": {
              "textSegments": [
                {
                  "startIndex": "665",
                  "endIndex": "683"
                }
              ]
            },
            "confidence": 0.9999979,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.125817,
                  "y": 0.11363637
                },
                {
                  "x": 0.2939454,
                  "y": 0.11363637
                },
                {
                  "x": 0.2939454,
                  "y": 0.1310873
                },
                {
                  "x": 0.125817,
                  "y": 0.1310873
                }
              ]
            },
            "orientation": "PAGE_UP"
          },
          "fieldValue": {
            "textAnchor": {
              "textSegments": [
                {
                  "startIndex": "683",
                  "endIndex": "694"
                }
              ]
            },
            "confidence": 0.9999979,
            "boundingPoly": {
              "normalizedVertices": [
                {
                  "x": 0.3137255,
                  "y": 0.11489899
                },
                {
                  "x": 0.4101307,
                  "y": 0.11489899
                },
                {
                  "x": 0.4101307,
                  "y": 0.12752526
                },
                {
                  "x": 0.3137255,
                  "y": 0.12752526
                }
              ]
            },
            "orientation": "PAGE_UP"
          }
        },
        ...
        {
          "fieldName": {
            ...
          },
          "fieldValue": {
            ...
          },
          "valueType": "unfilled_checkbox"
        },
        ...
        {
          "fieldName": {
            ...
          },
          "fieldValue": {
            ...
          },
          "valueType": "filled_checkbox"
        },
        ...
        {
          "fieldName": {
            ...
          },
          "fieldValue": {
            ...
          }
        }
      ]
    }
  ]
}
Return to processor list

Return to output page