A newer version of the Gradio SDK is available:
5.6.0
DA-2K Evaluation Benchmark
Introduction
DA-2K is proposed in Depth Anything V2 to evaluate the relative depth estimation capability. It encompasses eight representative scenarios of indoor
, outdoor
, non_real
, transparent_reflective
, adverse_style
, aerial
, underwater
, and object
. It consists of 1K diverse high-quality images and 2K precise pair-wise relative depth annotations.
Please refer to our paper for details in constructing this benchmark.
Usage
Please first download the benchmark.
All annotations are stored in annotations.json
. The annotation file is a JSON object where each key is the path to an image file, and the value is a list of annotations associated with that image. Each annotation describes two points and identifies which point is closer to the camera. The structure is detailed below:
{
"image_path": [
{
"point1": [h1, w1], # (vertical position, horizontal position)
"point2": [h2, w2], # (vertical position, horizontal position)
"closer_point": "point1" # we always set "point1" as the closer one
},
...
],
...
}
To visualize the annotations:
python visualize.py [--scene-type <type>]
Options
--scene-type <type>
(optional): Specify the scene type (indoor
,outdoor
,non_real
,transparent_reflective
,adverse_style
,aerial
,underwater
, andobject
). Skip this argument or set as""
to include all scene types.
Citation
If you find this benchmark useful, please consider citing:
@article{depth_anything_v2,
title={Depth Anything V2},
author={Yang, Lihe and Kang, Bingyi and Huang, Zilong and Zhao, Zhen and Xu, Xiaogang and Feng, Jiashi and Zhao, Hengshuang},
journal={arXiv:2406.09414},
year={2024}
}