Join our book community on Discord
This chapter introduces a family of machine learning models called artificial neural networks (ANNs), or sometimes just neural networks, and we will utilize this knowledge to perform various tasks such as handwritten digit recognition, object detection and recognition, and finally gesture recognition from a video input.
A key characteristic of neural networks is that they attempt to learn relationships among variables in a multi-layered fashion; they learn multiple functions to predict intermediate results before combining these into a single function to predict something meaningful (such as the class of an object). Recent versions of OpenCV contain an increasing amount of functionality related to ANNs – and, in particular, ANNs with many layers, called deep neural networks (DNNs). We will experiment with both shallower ANNs and DNNs in this chapter.
We have already...