Spaces:
Running on Zero
Running on Zero
File size: 2,550 Bytes
d0db7a9 7af8ccc d0db7a9 7af8ccc d0db7a9 7af8ccc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | ---
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}
}
```
|