Skip To Content

Use the model

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

  1. Click Add data to add an image to the Contents pane.
    An image added to the Contents pane

    You'll run the prediction on this 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 Classify Objects Using Deep Learning tool under Deep Learning.
    Classify Objects Using Deep Learning tool
  4. On the Parameters tab, set the variables as follows:
    1. Input Raster—Choose an input image from the drop-down menu or from a folder location.
    2. Output Classified Objects Feature Class—Set the output feature class.
    3. Model Definition—Select the Crowd Counting pretrained model .dlpk file.
      Classify Objects Using Deep Learning Parameters tab
  5. On the Environments tab, set the variables as follows:
    1. Processing Extent—Select the default extent or any other option from the drop-down menu.
    2. Cell Size—Set the value as default.
    3. Processor Type—Select CPU or GPU as needed.

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

      Classify Objects Using Deep Learning Environments tab
  6. Click Run.

    The output layer is added to the map.

  7. Right-click the output feature layer in the Contents pane and click Attribute Table.

    The Class column of the attribute table contains an estimate of the total number of people in the image.

    Choose Attribute Table for the resultant feature class.
    Attribute table showing the number of people counted