Summary
This chapter has really covered several areas that deal with background removal as well as some details that arise from this problem, such as the need to use connected components to find their contours. Firstly, the problem of background removal itself was established. Then, a simple algorithm such as frame differencing was analyzed. After that, more interesting algorithms, such as averaging background and mixture of Gaussian (MOG) were covered.
After using algorithms to deal with background removal problems, an insight about connected components was explored. Core OpenCV algorithms such as findContours and drawContours were explained. Some properties of contours were also analyzed, such as their area as well as convex hulls.
The chapter ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access