Building Computer Vision Projects with OpenCV 4 and C++
by David Millan Escriva, Prateek Joshi, Vinicius G. Mendonca, Roy Shilkrot
Does it work well?
There's a reason we call it the naive approach! It works under ideal conditions and, as we know, nothing is ideal in the real world. It does a reasonably good job of computing the shape of the given object, but it does so under some constraints. One of the main requirements of this approach is that the color and intensity of the object should be sufficiently different from that of the background. Some of the factors that affect this kind of algorithm are image noise, lighting conditions, and autofocus in cameras.
Once a new object enters our scene and stays there, it will be difficult to detect new objects that are in front of it. This is because we are not updating our background model, and the new object is now a part ...
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