Skip To Content

Use the model

You can use this model in the Detect Objects Using Deep Learning tool available in the Image Analyst toolbox in ArcGIS Pro. Follow the steps below to use the model for detecting palm trees in images. This model can also be fine-tuned using Train Deep Learning Model tool. See Fine-tune the model page for details on how to fine-tune this model.

Detect palm trees

Use the following steps to detect palm trees from the imagery:

  1. Download the Palm Tree Detection model and add the imagery layer in ArcGIS Pro.
  2. Zoom to an area of interest.
    Zoom in to an area of interest.
  3. Browse to Tools under the Analysis tab.
    Tools on the analysis tab in ArcGIS Pro
  4. Click the Toolboxes tab in the Geoprocessing pane, select Image Analyst Tools, and browse to the Detect Objects Using Deep Learning tool under Deep Learning.
    Detect Objects Using Deep Learning tool
  5. Set the variables under the Parameters tab as follows:
    1. Input Raster—Select the imagery.
    2. Output Detected Objects—Set the output feature class that will contain the detected objects.
    3. Model Definition—Select the pretrained or fine-tuned model .dlpk file.
    4. Model Arguments—Change the values of the arguments if required.
      • padding—The number of pixels at the border of image tiles from which predictions are blended for adjacent tiles. Increase its value to smooth the output while reducing edge artifacts. The maximum value of the padding can be half of the tile size value.
      • threshold—The detections that have a confidence score higher than this threshold are included in the result. The allowed values range from 0 to 1.0.
      • nms_overlap—The ratio of overlap between bounding boxes with which to filter detections with lower confidence scores.
      • batch_size—The number of image tiles processed in each step of the model inference. This depends on the memory of your graphics card.
      • exclude_pad_detections— If true, it allows the model to ignore padded areas in images, enhancing precision by focusing on relevant content, while setting it to false includes these areas, which may introduce noise and irrelevant detections.
    5. Non Maximum Suppression—Optionally, check the check box to remove the overlapping features with lower confidence.

      If checked, do the following:

      • Set Confidence Score Field.
      • Set Class Value Field (optional).
      • Set Maximum Overlap Ratio (optional).
        Detect Objects Using Deep Learning Parameters tab
  6. Set the variables under the Environments tab as follows:
    1. Processing Extent—Select Current Display Extent or any other option from the drop-down menu.
    2. Cell Size (required)—Set the value as resolution of the imagery. You can keep the default value to pick the imagery extent by default.
    3. Processor Type—Select CPU or GPU.

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

      Detect Objects Using Deep Learning Environments tab
  7. Click Run.

    The output layer is added to the map.

    Detected palm trees

    You can zoom in to take a closer look at the results.

    Zoomed in results

In this topic
  1. Detect palm trees