Daniele Rege Cambrin1 · Isaac Corley2 · Paolo Garza1
1Politecnico di Torino, Italy 2University of Texas at San Antonio, USA
In this paper, we propose transferring the representations learned by recent depth estimation foundation models to the remote sensing domain for measuring canopy height. Our findings suggest that our proposed Depth Any Canopy, the result of fine-tuning the Depth Anything v2 model for canopy height estimation, provides a performant and efficient solution, surpassing the current state-of-the-art with superior or comparable performance using only a fraction of the computational resources and parameters. Furthermore, our approach requires less than $1.30 in compute and results in an estimated carbon footprint of 0.14 kgCO2.
Install the dependencies of the requirements.txt file. Make sure to edit the config files in the configs/ folder. Then simply run main.py
Pre-trained checkpoints are available on HuggingFace.
| Model | Parameters | Checkpoint |
|---|---|---|
| Depth-Any-Canopy-Small | 24.8M | Download |
| Depth-Any-Canopy-Base | 97.5M | Download |
You can easily load them with pipelines or AutoModel:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("depth-estimation", model="DarthReca/depth-any-canopy-base")
# Load model directly
from transformers import AutoModelForDepthEstimation
model = AutoModelForDepthEstimation.from_pretrained("DarthReca/depth-any-canopy-base")This project is licensed under the Apache 2.0 license. See LICENSE for more information.
If you find this project useful, please consider citing:
@inbook{RegeCambrin2025,
title = {Depth Any Canopy: Leveraging Depth Foundation Models for Canopy Height Estimation},
ISBN = {9783031923876},
ISSN = {1611-3349},
url = {http://dx.doi.org/10.1007/978-3-031-92387-6_5},
DOI = {10.1007/978-3-031-92387-6_5},
booktitle = {Computer Vision – ECCV 2024 Workshops},
publisher = {Springer Nature Switzerland},
author = {Rege Cambrin, Daniele and Corley, Isaac and Garza, Paolo},
year = {2025},
pages = {71–86}
}