Skip to content

Repository files navigation

Workflow Automation of Tree Detection Visualization Comparison(Deep Forest Model)

Introduction

This is an automatic workflow to complete from the first step importing aerial imagery to the last step generating reports for the whole process of comparing tree detection results of DeepForest model (Weinstein et al., 2020). To run the workflow please follow 8 steps in ObjectDetectVisualComp to generate a web comparison report.

Method

  • Frontend: Streamlit + html
  • Backend: Postgresql (PostGIS)
  • Geoprocess: Overlap, Add attribute, Convert to Geojson

Project Folder

  • data
    • TreeAOIWGS84.tif
    • Extract_TreeLINZ_03m.tif
  • Output
    • run1_predictions.geojson
    • run2_predictions.geojson
    • run1_predictions.csv
    • run2_predictions.cvs
    • settings.csv
    • ComparisonReport.pdf
  • run_tile.py
  • settingGUI.py
  • ObjectDetectVisualComp.ipynb
  • ComparisonWebpage.html

Results

1. Model Setting GUI

Settings GUI

2. Comparison Report

Comparison Report

3. Settings.csv (Relational Table)

patch_sizepatch_overlapscore_thresholdiou_thresholdbatch_sizefile_name
Run 112000.250.20.154run1_predictions
Run 28000.250.40.154run2_predictions

4. Geojson file attribute Table

xminyminxmaxymaxlabelscoreimage_pathgeometry
4733180247991876Tree0.560285925865173TreeAOIWGS84.tifPOLYGON ((4799 1802, 4799 1876, 4733 1876, 4733 1802, 4799 1802))
4532238547752608Tree0.53722459077835TreeAOIWGS84.tifPOLYGON ((4775 2385, 4775 2608, 4532 2608, 4532 2385, 4775 2385))
...

Demo

Demo

Releases

Packages

Contributors

Languages