Use the draw tool to extract information directly from tables on the document image.

Overview of the draw tool

When viewing a processed document in the Document Intelligence workspace, you can use the draw tool to review and extract fields from the document image.

Especially in cases when there are no recommendations yet or incorrect recommendations, the draw tool is useful for selecting the specific area on the document you want to extract.

Any extracted table fields should already appear in a grid over the table. You can review the extracted fields right from the grid and make adjustments as needed. If the table fields are empty or there is no grid, you can create one or more grids over the table to extract the fields.

Draw tool creates a grid over the table on the document image.

Extract a table using the draw tool

Use the draw tool to extract a table directly from the document image.

Before you begin

Role required: sn_docintel.extraction_agent

About this task

Use the following steps to extract a table from a document using the draw tool. The extracted data is used to fill the related table fields.

If the table fields are auto-filled, a draw tool grid is already available based on the extracted fields. You can adjust the fields as needed. For more information, see Adjust the draw tool grid.

You can select multiple sections of a table throughout the pages of a document.

Procedure

  1. In the document fields panel, expand the Tables section.
    The Tables section only displays fields assigned to a table field group.
  2. Select a table in the Tables section.

    The table panel is displayed, and the Draw Tool icon (Draw Tool icon.) is enabled in the document controls toolbar.

    If the table fields are already auto-filled and the grid appears over the table, or if you’ve already drawn a grid, proceed to step 5.

    Tip: Collapse the Table panel using the Collapse table panel icon (Collapse table panel icon), if needed.
  3. Select the Draw Tool icon (Draw Tool icon.).
  4. Draw a box over the area on the document image that you want to extract.
    Tip: Include the header row of the table in the selection area.

    An editable grid appears over the table. The grid defines the table cells in the area that you selected. The row numbers in the grid correspond to the rows in the Table panel.

    The text in the cell appears surrounded by a dotted-line box before it is extracted to the table fields. After it is extracted, it appears in a solid-line box.

  5. Adjust the grid as needed.

    For more information, see Adjust the draw tool grid.

  6. (Optional) To select another section of the table on the same or a different page of the document:
    1. Select the Draw Tool icon (Draw Tool icon.).
    2. Draw a box over the other area on the document image that you want to extract.
      Note: It isn’t possible to draw a new grid over an existing one.
      The grid number beside the table name shows the updated grid number. For example, “Line items (2/2)” shows you are in the second out of two grids used to extract the Line items table fields.
    3. Adjust the grid as needed.
  7. (Optional) To hide the grid(s), select the Hide/show the grid(s) icon (Hide/show the grids icon.).

    A partly-transparent box shows where a hidden grid is located on the document.

    Select the hidden grid or the Hide/show the grid(s) icon to show the grid.

  8. Extract the data.
    • Select Extract data.

      This button displays if no data has been extracted yet.

    • Select Update fields.

      This button displays if the table fields are already filled and you have made changes that will overwrite some of them.

      The Update fields button shows the number of fields to be updated.

    The data in the grid(s) are extracted and used to fill the related table fields.

    If there are any empty cells or missing columns in the grid(s), the related table fields are set to Missing in the document.

Adjust the draw tool grid

Adjust the draw tool grid to better fit the information that you want to extract from the document image.

Before you begin

  • These steps apply to tables that have a draw tool grid on the document image. For more information, see Extract a table using the draw tool.
  • Role required: sn_docintel.extraction_agent

About this task

Use the following steps to make changes to a grid. You can then extract the updates to the related table fields.

Procedure

  1. On the document image, select the grid that you want to change.

    If you have more than one grid on the document, only one displays editing tools. The other grid appears as an overlay until you select it for editing.

    Tools to adjust the draw-mode grid.

  2. Adjust the grid as needed.

    Adjustments are auto-saved.

    Any adjustments that produce a change to previous extractions are indicated in the cell corner.

    The text in the cell appears surrounded by a solid-line box if it’s already extracted. It appears in a dotted-line box if it isn’t extracted yet.

Review a field on the document image

Use the draw tool to review auto-filled fields directly from the document image panel.

Before you begin

  • These steps apply to tables that have a draw tool grid on the document. For more information, see Extract a table using the draw tool.
  • Role required: sn_docintel.extraction_agent

Procedure

  1. On the document image, point to a cell you want to review in the grid.

    If there’s an extracted value, the text in the cell appears surrounded by a box.

    Tooltip showing the extracted field value.
  2. Verify the value that appears in the field’s tooltip.
  3. Repeat steps 1 and 2 for each field that you want to review.

Edit a field on the document image

Edit the fields on the document image to make sure that the correct information is extracted.

Before you begin

  • These steps apply to tables that have a draw tool grid on the document. For more information, see Extract a table using the draw tool.
  • Role required: sn_docintel.extraction_agent

About this task

Use the following steps to change to a field by editing the recommendation on the document image. The text detected by DocIntel appears surrounded by a box.

Procedure

  1. On the document image, select the cell that you want to edit in the grid.
    A dialog box appears, showing the related table field.
  2. Enter a value in the text box or select another recommendation from the list.

    Dialog box for the table field opened from the document image.

  3. Select Save.