Spaces:
Running on Zero

synthforest / README.md
multimodalart's picture
multimodalart HF Staff
Upload folder using huggingface_hub
7af8ccc verified
|
Raw History Blame Contribute Delete
2.55 kB
---
title: SynthForest
emoji: 🌲
colorFrom: green
colorTo: indigo
sdk: gradio
sdk_version: 6.33.0
app_file: app.py
python_version: "3.12"
startup_duration_timeout: 30m
short_description: Canopy height and tree crowns from overhead RGB images
---
# 🌲 SynthForest
Canopy height estimation and tree crown delineation from a single overhead RGB
image, using the models released with
**"SynthForest: A Multi-Task Synthetic Dataset for Real-World Forest Vision"**
(Novoselova, Song, Yokoya β€” [arXiv:2612.03462](https://arxiv.org/abs/2612.03462)).
Two models run on every image, both with a frozen DINOv3 ViT-L/16 backbone:
1. **Syn-20** β€” DPT canopy-height head β†’ a per-pixel height map in meters
(the paper's Table 4 model, trained on 20% of the synthetic data).
2. **HF+MT** β€” Mask R-CNN crown delineator with height-feature fusion and
Mean Teacher semi-supervision (the paper's best crown model, Table 5).
## How to use
- Upload an **overhead RGB image** β€” aerial or satellite, ideally ~2–10 cm
ground sampling distance (the models were trained at 5 cm).
- The app returns a **tree-crown detection overlay** (masks + boxes + scores),
a **colourised canopy height map**, and summary statistics.
- Black border padding (nodata) is detected automatically and excluded.
- Best performance is on images close to the 992Γ—992 training size; larger
images are downscaled to keep GPU time bounded.
## Example tiles
The three bundled examples come from the
[SynthForest dataset](https://huggingface.co/datasets/novoselova/synthforest)
(one small/medium canopy, one hard-negative, one large closed-canopy tile),
licensed **CC BY 4.0**.
## Attribution
- Model checkpoints (`syn20.pth`, `maskrcnn_syn_hf_mt.pth`) from
[novoselova/synthforest](https://huggingface.co/novoselova/synthforest),
**CC BY 4.0**.
- DINOv3 ViT-L/16 (LVD-1689M) backbone loaded from the public mirror
[camenduru/dinov3-vitl16-pretrain-lvd1689m](https://huggingface.co/camenduru/dinov3-vitl16-pretrain-lvd1689m);
DINOv3 is originally Β© Meta AI.
- Inference follows the reference implementation at
[github.com/iaroslavanovoselova/SynthForest](https://github.com/iaroslavanovoselova/SynthForest) (MIT).
## Citation
```bibtex
@misc{novoselova2026synthforest,
title = {SynthForest: A Multi-Task Synthetic Dataset for Real-World Forest Vision},
author = {Iaroslava Novoselova and Jian Song and Naoto Yokoya},
year = {2026},
eprint = {2612.03462},
archivePrefix = {arXiv},
primaryClass = {cs.CV}
}
```