A newer version of the code is available at DAVIS 2017
Package containing helper functions for loading and evaluating DAVIS.
A Matlab version of the same package is also available.
DAVIS (Densely Annotated VIdeo Segmentation), consists of fifty high quality, Full HD video sequences, spanning multiple occurrences of common video object segmentation challenges such as occlusions, motion-blur and appearance changes. Each video is accompanied by densely annotated, pixel-accurate and per-frame ground truth segmentation.
Please cite DAVIS
in your publications if it helps your research:
`@inproceedings{Perazzi_CVPR_2016,
author = {Federico Perazzi and
Jordi Pont-Tuset and
Brian McWilliams and
Luc Van Gool and
Markus Gross and
Alexander Sorkine-Hornung},
title = {A Benchmark Dataset and Evaluation Methodology for Video Object Segmentation},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2016}
}`
DAVIS is released under the BSD License [see LICENSE for details]
C++
- Boost.Python
Python
- Cython==0.24
- PyYAML==3.11
- argparse==1.2.1
- easydict==1.6
- future==0.15.2
- h5py==2.6.0
- matplotlib==1.5.1
- numpy==1.11.0
- prettytable==0.7.2
- scikit-image==0.12.3
- scipy==0.17.0
C++
- ./configure.sh && make -C build/release
Python:
- pip install virtualenv virtualenvwrapper
- source /usr/local/bin/virtualenvwrapper.sh
- mkvirtualenv davis
- pip install -r python/requirements.txt
- export PYTHONPATH=$(pwd)/python/lib
- See ROOT/python/lib/davis/config.py for a list of available options
See source code for documentation.
The directory is structured as follows:
-
ROOT/cpp
: Implementation and python wrapper of the temporal stability measure. -
ROOT/python/tools
: contains scripts for evaluating segmentation.eval.py
: evaluate a technique and store results in HDF5 fileeval_view.py
: read and display evaluation from HDF5.
-
ROOT/python/experiments
: contains several demonstrative examples. -
ROOT/python/lib/davis
: library package contains helper functions for parsing and evaluating DAVIS -
ROOT/data
:get_davis.sh
: download input images and annotations.get_davis_cvpr2016_results.sh
: download the CVPR 2016 submission results.