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.

Complete the following steps to detect arctic seals from drone imagery:

  1. Ensure that you have downloaded the Arctic Seal Detection pretrained model and added the imagery layer in ArcGIS Pro.
  2. Zoom to an area of interest or use the entire drone imagery.
    Area of interest
  3. Browse to Tools on 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 on 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 maximum overlap ratio for two overlapping features, which is defined as the ratio of intersection area over union area. The default is 0.1.
      • batch_size—The number of image tiles processed in each step of the model inference. This depends on the memory of your graphic card.
      • exclude_pad_detections—If true, filters potentially truncated detections near the edges that are in the padded region of image chips.
      • test_time_augmentation—Performs test time augmentation while predicting. This is a technique used to improve the robustness and accuracy of model predictions. It involves applying data augmentation techniques during inferencing, which means generating multiple slightly modified versions of the test data and aggregating the predictions. If true, predictions of flipped and rotated orientations of the input image will be merged into the final output and their confidence values are averaged. This may cause the confidence to fall below the threshold for objects that are only detected in a few orientations of the image.
    5. Non Maximum Suppression (optional)—Check the check box as needed.

      If checked, do the following:

      • Set Confidence Score Field.
      • Set Class Value Field (optional).
      • Set Max Overlap Ratio (optional).
    Detect Objects Using Deep Learning tool Parameters tab
  6. Set the variables on the Environments tab as follows:
    1. 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 tool Environments tab
  7. Click Run.

    The output layer is added to the map.

    Output layer

In this topic