Skip to main content
QUICK REVIEW

[Paper Review] Flow-based Video Segmentation for Human Head and Shoulders

Zijian Kuang, Xinran Tie|arXiv (Cornell University)|Apr 20, 2021
Advanced Image Processing TechniquesComputer Science10 references6 citations
TL;DR

This paper proposes FUNet, a flow-based encoder-decoder network that combines Horn-Schunck optical flow with convolutional neural networks to enable real-time, robust video segmentation of human head and shoulders under motion blur. The model achieves a 0.96 average Dice coefficient on a custom dataset, outperforming traditional methods in dynamic conferencing scenarios.

ABSTRACT

Video segmentation for the human head and shoulders is essential in creating elegant media for videoconferencing and virtual reality applications. The main challenge is to process high-quality background subtraction in a real-time manner and address the segmentation issues under motion blurs, e.g., shaking the head or waving hands during conference video. To overcome the motion blur problem in video segmentation, we propose a novel flow-based encoder-decoder network (FUNet) that combines both traditional Horn-Schunck optical-flow estimation technique and convolutional neural networks to perform robust real-time video segmentation. We also introduce a video and image segmentation dataset: ConferenceVideoSegmentationDataset. Code and pre-trained models are available on our GitHub repository: \url{https://github.com/kuangzijian/Flow-Based-Video-Matting}.

Motivation & Objective

  • Address the challenge of accurate background subtraction in videoconferencing under motion blur, such as head shaking or hand waving.
  • Overcome limitations of traditional background subtraction methods (e.g., GMG, KNN) that fail when foreground objects are static or in motion.
  • Develop a real-time, end-to-end video segmentation model that does not require clean background images or extensive manual annotations.
  • Create a new benchmark dataset, ConferenceVideoSegmentationDataset, to support research in human head and shoulders video segmentation.
  • Improve robustness and efficiency of video segmentation by integrating optical flow features with deep learning-based appearance features.

Proposed method

  • Employ the Horn-Schunck optical flow method to extract motion features between consecutive video frames.
  • Combine motion features with appearance features from the original frame using a U-Net-style encoder-decoder architecture.
  • Use a convolutional neural network to predict foreground masks for human head and shoulders in real time.
  • Implement BCE With Logits Loss with RMSProp optimizer (initial LR 0.0001, weight decay 1e-8, momentum 0.9) for training stability.
  • Integrate optical flow and appearance features via concatenation in the decoder path to refine mask predictions.
  • Apply a downscaling factor during training to improve computational efficiency, with potential for future adjustment.

Experimental results

Research questions

  • RQ1Can a hybrid model combining classical optical flow and deep learning improve video segmentation robustness under motion blur?
  • RQ2How does the integration of motion and appearance features enhance segmentation accuracy in dynamic videoconferencing scenarios?
  • RQ3To what extent can a custom dataset of conference-style videos improve the generalization of video segmentation models?
  • RQ4Can the proposed method achieve real-time inference without requiring high-resolution background images or manual annotations?
  • RQ5How does the model perform on unseen video sequences with novel backgrounds and foreground subjects?

Key findings

  • The proposed FUNet model achieves a mean Dice coefficient of 0.96 on the testing set, indicating high similarity between predicted and ground truth masks.
  • The model demonstrates robust performance on video sequences with motion blur, such as head movement and hand waving, which commonly fail in existing systems like Zoom’s background replacement.
  • The integration of Horn-Schunck optical flow with deep learning enables accurate motion-aware segmentation without requiring additional supervision or clean background inputs.
  • The custom ConferenceVideoSegmentationDataset, containing 3600 frames from 10 green screen conference videos, enables effective training and evaluation of the model.
  • The model is trained end-to-end using BCE With Logits Loss and RMSProp optimizer, achieving real-time inference on a single RTX 2080 Ti GPU.
  • Future work includes expanding the dataset with real-world conference recordings and improving inference speed via softmax splatting for frame interpolation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.