SegFlow: Joint Learning for Video Object Segmentation and Optical Flow

Alt Text

Project webpage: https://sites.google.com/site/yihsuantsai/research/iccv17-segflow
Contact: Jingchun Cheng (chengjingchun at gmail dot com)

Paper

SegFlow: Joint Learning for Video Object Segmentation and Optical Flow
Jingchun Cheng, Yi-Hsuan Tsai, Shengjin Wang and Ming-Hsuan Yang
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

Optical Flow Comparisons

Requirements

Demo on DAVIS 2016

cd demo
python infer_DAVIS.py VIDEO_NAME
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

cd demo
python infer_video.py VIDEO_FILE
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.
cd training
sh train.sh

Download Our Segmentation Results on DAVIS 2016

Note

The model and code are available for non-commercial research purposes only.