Summary
This chapter was an important milestone since it introduced the concepts required for linking OpenCV and Qt frameworks together. In this chapter, we learned all about the Mat
class and its variants. We learned about the new Transparent API in OpenCV and how using the UMat
class can improve the performance of our computer vision applications. We also learned about reading and writing images and videos, and also capturing video frames from cameras and network-based video feeds. Later, we moved on to learning about the Qt capabilities and classes that are related to computer vision and working with images. The QImage
class in Qt, which is the equivalent of the Mat
class in OpenCV
, was introduced in this chapter. We also learned about the QPixmap
and QPainter
classes, and several other Qt classes. While doing just that, we also learned how to create a custom Qt widget and use the QPainter
class to draw on a QImage
class. Finally, we ended the chapter with an introduction to Qt classes...