root/samples/cpp/tutorial_code/video/

[..]
  1. bg_sub.cpp
[..]