Tree-detection. Just the normal trees in the street. Not the RandomForest
I've an Aerial image (5cm ground pixel resolution, RGB) and Satellite Images 50 cm pixel resolution (RGB and NearInfrared) and I would like to do some Tree detection image analyses. Just the Trees in the streets. Not the RandomForest-tree as AI algorithm.
But Im not sure where to start: QGIS with the Semi-automatic Classification Plugin or ArcGIS Pro with the Image Analysist Tools?
I've also a shapefile with Trees as point-object. Is that usefull as training data? How many tree-points do I need as training data?
Did someone gave this a try already? Was the result good(-enough)? Did you encounter a problem you couldnt work around? I hope I can learn from your experience and hopefully improve the workprocess.
Posted Aug 12, 2022, 12:45 PM UTC
If you know some Python you could try Deep Forest: https://deepforest.readthedocs.io/en/latest/, it works pretty well with high res aerial imagery, less so with 50cm satellite imagery. I believe it was trained with 10cm resolution data.
thanks! I do know some Python but didnt think of it. I'll take a look at it.
I tried to install Deepforest in my own way in my Anaconda Base environment. Ofcourse, that doesn't work. So I give it a try in a new, clean environment and that seems to go well. Now Im going to try the "getting started" chapter in the readthedocs
It should be a lot easier doing it in a new environment that you make with i.e conda create -n deepforest python=3 pytorch torchvision cudatoolkit=10.2 -c pytorch, it's generally good practice to work in separate environments to the base env anyway
I understand you need an Nvidia graphics card for the cuda toolkit? Unfortunatly I've an ATI Radeon RX 580 Series.
In the meantime I've created an new environment for deepforest, but Spyder will not install in that environment. At least, it seems to take hours to Solve packages and things like that. I think I just have to be patient.
thanks for the tip. I did create new environment and after hours of waiting while package specifications are solved etc. I finaly get somewhere. In readthedocs I get to the point of 'getting started', in Spyder I get the error:
from this part of code:
It sucks to be stucked here :(