Chapter 2. Handling Matrices, Files, Cameras, and GUIs
This chapter will enable you to perform basic operations required in computer vision, such as dealing with matrices, opening files, capturing videos from a camera, playing videos, and creating GUIs for prototype applications.
In this chapter, the following topics will be covered:
- Basic matrix manipulation
- Pixel manipulation
- How to load and display images from files
- How to capture a video from a camera
- Video playback
- Swing GUI's integration with OpenCV
By the end of this chapter, you should be able to get this computer vision application started by loading images and creating nice GUIs to manipulate them.