Awesome
SegFlow: Joint Learning for Video Object Segmentation and Optical Flow
Project webpage: https://sites.google.com/site/yihsuantsai/research/iccv17-segflow <br /> Contact: Jingchun Cheng (chengjingchun at gmail dot com)
Paper
SegFlow: Joint Learning for Video Object Segmentation and Optical Flow <br /> Jingchun Cheng, Yi-Hsuan Tsai, Shengjin Wang and Ming-Hsuan Yang <br /> IEEE International Conference on Computer Vision (ICCV), 2017.
This is the authors' demo code described in the above paper. Please cite our paper if you find it useful for your research.
@inproceedings{Cheng_ICCV_2017,
author = {J. Cheng and Y.-H. Tsai and S. Wang and M.-H. Yang},
booktitle = {IEEE International Conference on Computer Vision (ICCV)},
title = {SegFlow: Joint Learning for Video Object Segmentation and Optical Flow},
year = {2017}
}
SegFlow Results
Segmentation Comparisons with Unsupervised Method
Segmentation Comparisons with Semi-supervised Method
Requirements
-
Install
caffe
andpycaffe
(opencv
is required). <br />cd caffe
<br />make all -j8
(paths are needed to change in the configuration file) <br />make pycaffe
<br /> -
Download the DAVIS 2016 dataset and put it in the data folder.
-
Download our pre-trained caffe model here and put it in the model folder.
Demo on DAVIS 2016 <br />
cd demo
<br />
python infer_DAVIS.py VIDEO_NAME
<br />
For example, run python infer_DAVIS.py dog
This code provides a demo for the parent net (Ours_OL) in SegFlow. The output contains both the segmentation and optical flow results.
Test on your own Videos <br />
cd demo
<br />
python infer_video.py VIDEO_FILE
<br />
For example, run python infer_video.py ../data/video_example.mp4
Training code on DAVIS 2016 (Ours_OL)
Download the segmentation and flow pre-trained weights, and put them in the model folder. <br />
cd training
<br />
sh train.sh
<br />
Download Our Segmentation Results on DAVIS 2016
- SegFlow without online training step (Ours_OL) here
- SegFlow without optical flow branch (Ours_FLO) here
- Final SegFlow results here
Note
The model and code are available for non-commercial research purposes only.
- 09/2017: demo code released
- 01/2018: the pre-trained caffe model is updated
- 02/2018: training code for the parent net (unsupervised setting) is released