Skip To Content

Use the model

You can use this model in the Detect Objects Using Deep Learning tool available in the ArcGIS Image Analyst toolbox in ArcGIS Pro.

  1. Download the Table Extraction model and add the image in ArcGIS Pro.
    Input image
  2. Click the Analysis tab and browse to Tools.
    Tools on the Analysis tab in ArcGIS Pro
  3. In the Geoprocessing pane, click Toolboxes and expand Image Analyst Tools. Select the Detect Objects Using Deep Learning tool under Deep Learning.
    Detect Objects Using Deep Learning tool
  4. On the Parameters tab, set the variables as follows:
    1. For Input Raster, select the image.
    2. For Output Detected Objects, set the output file name that will contain the results.
    3. For Model Definition, select the pretrained model .dlpk file.
    4. Optionally, for Arguments, change the values of the arguments.

      max_num_cols sets the number of fields in the table. The default value is 25.

    5. Optionally, for Non Maximum Suppression, check the check box to remove the overlapping features with lower confidence.

      If checked, do the following:

      • Set Confidence Score Field.
      • Optionally, set Class Value Field.
      • Optionally, set Max Overlap Ratio.
    6. Optionally, check Use Pixel space to specify whether inferencing will be performed on images in pixel space.
    Detect Objects Using Deep Learning tool Parameters tab
  5. On the Environments tab, set the variables as follows:
    1. For Processing Extent, select Current Display Extent or any other option from the drop-down menu. Note: If multiple tables are present in the image, set the desired extent to the table of interest.
    2. For Processor Type, select CPU or GPU as needed.

      It is recommended that you select GPU, if available, and set GPU ID to the GPU to be used.

    Detect Objects Using Deep Learning Environment tab
  6. Click Run.

    The output layer is added to the map.

  7. Right-click the output layer and open Attribute Table to view the extracted table. Optionally, change the symbology of the layer for better visualization.

    Extracted table

  8. Optionally, postprocessing the table.

    In certain cases, this toolbox can be used to postprocess the table to make the following changes:

    • The additional columns with Null values are removed.
    • Valid field names and aliases are set using the first row of the extracted table. The first row should not be empty.
    • The fields are assigned the appropriate data type if the extracted data in each field is consistent.
    1. Make sure you have downloaded the Postprocess Table Toolbox (.atbx file). To add it to ArcGIS Pro, right-click Toolboxes on the Project tab in the Catalog pane. Click Add Toolbox. Select the toolbox Postprocess Table Toolbox file (.atbx) from the folder where you have downloaded it and click OK.

      The downloaded toolbox is added under Toolboxes.

      Add Toolbox
    2. Expand the new toolbox and double-click the Postprocess Table file.
      The Postprocess Table file under Toolboxes
    3. Set the required parameters.
      • For Input Feature Class, select the feature layer to postprocess.
      • For Output Table, add the name of the output table file.
      Postprocess Table tool parameters
    4. Click Run.
    5. Add the output table to the Contents pane from the path where it is saved. Right-click the output table and select Open to view the postprocessed table.
    Postprocessed table