The world of data is full of various kinds of data types. This, at times, makes it very difficult for users to distinguish between the data type to use for a particular value. Here, we will try to keep it simple by treating everything as an array, except the scalar values, which will retain their standard data types. So, images will become 2D arrays because they have width and height. A 1D array could be a sound clip with intensity varying over time.
If you have mostly been using OpenCV's C++ Application Programming Interface (API) and plan on continuing to do so, you might find that dealing with data in C++ can be a bit of a pain. Not only will you have to deal with the syntactic overhead of the C++ language, but you will also have to wrestle with different data types and cross-platform compatibility issues.
This process is radically...