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.

Recommended imagery configuration

The recommended imagery configuration is as follows:

  • Resolution—The expected image resolution is 224x224 pixels.
  • Imagery—8 bit, three-band (RGB) image.
    Note:

    Input images should have a gray or solid-color background with one full leaf per image, as shown in the sample image below.

Classify plant leaf disease

Complete the following steps to classify plant leaf disease from the imagery:

  1. Download the Plant Leaf Disease Classification model.
  2. Click Add data to add an image to the Contents pane.
    Image added to the Contents pane

    You'll run the prediction on this image.

  3. Click the Analysis tab and browse to Tools.
    Tools on the Analysis tab in ArcGIS Pro
  4. 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
  5. 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 pretrained or fine-tuned model .dlpk file.
    4. Model Arguments (optional)—Change the values of the arguments if required.
      Classify Objects Using Deep Learning Parameters tab
  6. 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. 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.

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

    The output layer is added to the map.

  8. Right-click the output feature layer in the Contents pane and click Attribute Table. The Label column of the attribute table contains the predicted leaf disease shown in the image.
    Choose Attribute Table for the resultant feature class.
    Attribute Table showing the predicted class of the diseased leaf.