I am trying to get ArcGISpro to give me a rough estimate of the percentage of deadspots in an orchard like the one in this image. I am using imagery from USDA NAIP. I've tried using TreeDetection.dlpk as a model in Detect Objects Using Deep Learning to detect the trees in the orchard. My hope was that this would detect a number of trees - say 100 for example, and I could compare this to ground truth data that this orchard was planted with 200 trees, for example, and infer that 100 trees had died.
The deep learning results were not good (see image). Any ideas on what else I could try?
I suspect that part of the problem is that the imagery you are using is not an exact match for the imagery the model was trained on. Have a look at this tutorial on using transfer learning to adjust a model trained on one dataset to work with another, slightly different one.
https://learn.arcgis.com/en/projects/improve-a-deep-learning-model-with-transfer-learning/
Thanks @BobBooth1. The TreeDetection.dlpk model relies on DeepForest, which I've learned does not support transfer learning. Other models I've seen don't seem to be a great fit, except maybe LandCoverClassification_Aerial.
If you're just looking for rough percentages, you theoretically should be able to use area measurements, yes? I notice the trees are pretty consistently-spaced, which makes sense for an orchard.
If you happen to have LiDAR data available for this site (or can source some), you might be able to compare the returns for tree canopy against the returns for the open grass, and convert those to polygons.
Calculate the areas for each resulting polygon against the area for the field as a whole, and you have approximate area measurements for deadspots.
If you need approximate tree counts, it depends on your definition of "approximate". Again, the trees appear relatively evenly-spaced, so you might be able to calculate an average tree-per-square-meter or similar, and then run that number against the area of tree return from the LiDAR, and you get an approximate tree count.
Hi Golden 345,
First I would do an extract by mask on your raster file to include only the orchard you want to measure.
Next I would do a raster to polygon change and calculate the area of your dead patches.
Lastly I would count the number of live trees in a given area of your orchard, and do the math.
You might look at the new textSAM model, it might give better results.
https://www.arcgis.com/home/item.html?id=8df3bf4167bc4c7b967f677f8b362ec3
See this video: