As we saw in the previous chapters, you are required to have Qt version 5 (at least) installed and have basic knowledge of C++ and Qt programming. Also, the latest version of OpenCV (4.0) should be correctly installed. Besides the core and imgproc modules, the video and videoio modules of OpenCV will also be used in this chapter. Following the previous chapters, these requirements must be already met.
In this chapter, we will show you how to handle cameras, so you need to have a webcam, either a built-in one or an external one, which can be accessed from your computer.
A basic knowledge of multi-threading is also a requirement of this chapter.
All the code for this chapter can be found in this book's GitHub repository at https://github.com/PacktPublishing/Qt-5-and-OpenCV-4-Computer-Vision-Projects/tree/master/Chapter-03.
Check out the following video...