Interframe Compression

A system to send only the difference between the current and previous image in a video feed to reduce bandwidth usage in video streaming.

General

This interframe compression system is to send only the difference between the current and previous image in a video feed to reduce bandwidth usage in video streaming.

Tools

Skills developed

  • Image Processing

Demo

Method

To find the differences, it first compares the present present and previous frame with OpenCV's absdiff function which will produce a 'soft mask' (as seen in the demonstration). Next, that is thresholded for values greater than zero and used as a mask for the current image. The reconstruction is formed by continuously layering on the differences between each frame.