Python, Opencv, Jupyter Notebook, Computer Vision, Programming.
matrix with rows and columns values stored in img. Actually, if you check the type of the img, it will give you the following result: >>>print(type(img)) <class 'numpy.ndarray'> It’s a NumPy array! That why image processing using OpenCV is so easy. All the time you are working with a NumPy array.