O'Reilly logo

Learn OpenCV 4 by Building Projects - Second Edition by Prateek Joshi, Vinicius G. Mendonca, David Millan Escriva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding background subtraction

Background subtraction is very useful in video surveillance. Basically, the background subtraction technique performs really well in cases where we have to detect moving objects in a static scene. How is this useful for video surveillance? The process of video surveillance involves dealing with constant data flow. The data stream keeps coming in and we need to analyze it to recognize any suspicious activity. Let's consider the example of a hotel lobby. All the walls and furniture have a fixed location. If we build a background model, we can use it to identify suspicious activity in the lobby. We are taking advantage of the fact that the background scene remains static (which happens to be true in this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required