Skip to main content
QUICK REVIEW

[Paper Review] Fast Object Detection in Compressed Video

Shiyao Wang, Hongchao Lu|arXiv (Cornell University)|Nov 27, 2018
Advanced Neural Network ApplicationsComputer Science56 references7 citations
TL;DR

This paper proposes MMNet, a fast object detection method for compressed videos that leverages motion vectors and residual errors from video codecs to accelerate feature extraction. By using a lightweight memory network to propagate features from I-frames to P-frames, MMNet achieves up to 10× faster inference than MANet and 3× faster than R-FCN, with only minor accuracy loss on ImageNet VID.

ABSTRACT

Object detection in videos has drawn increasing attention since it is more practical in real scenarios. Most of the deep learning methods use CNNs to process each decoded frame in a video stream individually. However, the free of charge yet valuable motion information already embedded in the video compression format is usually overlooked. In this paper, we propose a fast object detection method by taking advantage of this with a novel Motion aided Memory Network (MMNet). The MMNet has two major advantages: 1) It significantly accelerates the procedure of feature extraction for compressed videos. It only need to run a complete recognition network for I-frames, i.e. a few reference frames in a video, and it produces the features for the following P frames (predictive frames) with a light weight memory network, which runs fast; 2) Unlike existing methods that establish an additional network to model motion of frames, we take full advantage of both motion vectors and residual errors that are freely available in video streams. To our best knowledge, the MMNet is the first work that investigates a deep convolutional detector on compressed videos. Our method is evaluated on the large-scale ImageNet VID dataset, and the results show that it is 3x times faster than single image detector R-FCN and 10x times faster than high-performance detector MANet at a minor accuracy loss.

Motivation & Objective

  • Address the computational inefficiency of processing dense video frames using heavy CNNs in video object detection.
  • Leverage motion information already embedded in compressed video codecs (e.g., H.264) to avoid redundant computation.
  • Develop a memory network that efficiently propagates features from I-frames to P-frames using motion vectors and residual errors.
  • Enable multi-scale object detection in compressed video by incorporating pyramidal feature attention in the memory network.
  • Demonstrate that exploiting native codec signals leads to faster inference without sacrificing detection accuracy.

Proposed method

  • Use I-frames as reference frames and run a full recognition network only on them to extract deep features.
  • For subsequent P-frames, employ a lightweight memory network that takes the I-frame features and motion vectors as input.
  • Integrate motion vectors and residual errors from the video stream to align and refine features across frames.
  • Implement a pyramidal feature attention mechanism to propagate features across multiple scales, improving multi-scale detection.
  • Train the memory network end-to-end to predict accurate features for P-frames based on motion cues and residual errors.
  • Combine the proposed MMNet with post-processing techniques like box-level NMS to further improve detection performance.

Experimental results

Research questions

  • RQ1Can motion vectors and residual errors in compressed video be effectively used to accelerate video object detection?
  • RQ2How does feature propagation using codec-native motion signals compare to flow-based methods in terms of speed and accuracy?
  • RQ3Can a lightweight memory network effectively transfer features from I-frames to P-frames while preserving detection accuracy?
  • RQ4Does the integration of pyramidal feature attention improve multi-scale object detection in compressed video?
  • RQ5To what extent can MMNet reduce inference time while maintaining competitive mAP on large-scale video detection benchmarks?

Key findings

  • MMNet achieves up to 10× faster inference than MANet, a high-performance video detector, with only a minor drop in mAP.
  • The method is 3× faster than R-FCN, a single-image detector, while maintaining competitive accuracy on the ImageNet VID dataset.
  • MMNet achieves mAP of 73.0% at 41 fps and up to 79.2% mAP at 8 fps when combined with post-processing.
  • Motion vectors provide sufficient motion cues for feature propagation, outperforming flow estimation in speed and efficiency.
  • The pyramidal feature attention mechanism enables effective multi-scale detection by preserving spatial details across scales.
  • Visualization confirms that motion vectors guide accurate feature alignment, resulting in reliable bounding box predictions.

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.