Chapter 21. Avoiding Common Pitfalls in OpenCV
OpenCV has been around for more than 15 years now. It contains many implementations that are outdated or unoptimized and are relics of the past. An advanced OpenCV engineer should know how to avoid basic mistakes in navigating the OpenCV APIs, and see their project to algorithmic success.
In this chapter, we will review the historic development of OpenCV, and the gradual increase in the framework and algorithmic offering, alongside the development of computer vision at large. We will use this knowledge to see how to figure out whether a newer alternative exists within OpenCV for our algorithm of choice. Lastly, we will discuss how to identify and avoid common problems or sub-optimal choices while creating computer vision systems with OpenCV.
The following topics will be covered in this chapter:
- A historic review of OpenCV and the latest wave of computer vision research
- Checking the date at which an algorithm became available in OpenCV, and whether...