Skip to content

kr1shnasomani/TreeTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreeTracer

The code automates tree segmentation from geospatial images using Detectron2’s Mask R-CNN. It downloads required data, processes TIFF images, performs instance segmentation, and generates visual outputs with default and custom visualizations, highlighting trees in yellow and backgrounds in purple, saving results for environmental analysis.

Execution Guide:

  1. Clone the repository:

    https://github.com/kr1shnasomani/TreeTracer.git
    cd TreeTracer
    
  2. Install the dependencies:

    pip install -r requirements.txt
    python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
    
  3. Enter the path of the data folder (TreeTracer) and input image

  4. Upon running the code it saves a model, tiff and the result images in their respective folders

Result:

Input Image:

image

Output Image:

a. segmentation.jpg

image

b. mask.jpg

image

About

Detection of trees from aerial image using detectron2

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages