Skip to content

Automatic individual tree detection from combination of aerial imagery, LiDAR and environment context

Notifications You must be signed in to change notification settings

giaaUC3M/tree_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

Automatic individual tree detection from combination of aerial imagery, LiDAR and environment context

This project consists of two parts. In the first part, tree detections of the area of interest are obtained from lidar data. In the second part, using these detections and an orthophoto of the area of interest, we use a neural network model capable of detecting and georeferencing trees from orthophotos. All the resulting detections (.shp) can be visualized using QGIS tool.

The summary of this framework can be seen in the following image:

framework

1. LiDAR_detections

  • Programs:
    • R == 4.0.5
    • RStudio == 2021.9.03

The inputs of this program are the lidar data (.laz files) captured from the area of interest collected through the website of the national geographic information center http://centrodedescargas.cnig.es/CentroDescargas/catalogo.do?Serie=LIDAR.

  • Required libraries:
    • LidR
    • Raster
    • Rgdal
  • To use watershed algorithm:
    • From package "BiocManager"->"EBImage"
    • From package "gstat"->"gstat"

2. Net_Trained_With_LiDAR_Detections

  • Programs:
    • Google Drive
    • QGIS Desktop == 3.22.7

Note the location of the project in Google Drive, if it is not in the root of your drive you will have to modify the path variable of the code that allows you to locate the rest of the files. You should also take this into account if you prefer to work locally instead of through Google Drive.

The inputs of this program are:

All information on the neural network architecture used for training the tree detection model can be found at https://deepforest.readthedocs.io/en/latest/landing.html#:~:text=DeepForest%20uses%20deep%20learning%20object,models%20for%20tree%20detection%20simpler.

  • Required libraries:
    • DeepForest==0.3.8
    • tensorflow-gpu==1.14.0
    • numpy
    • gdal-bin python3-gdal
    • scipy
    • pyshp
    • fiona==1.7
    • rasterio
    • pyproj
    • plotly==4.14.3
    • -U kaleido
    • pyyaml==5.4.1

Execution tutorial

Watch the video

About

Automatic individual tree detection from combination of aerial imagery, LiDAR and environment context

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published