I am trying to open images in C++ using OpenCV and to send a pointer (image.data) to Python where I convert image.data to a numpy array using Numpy\'s frombuffer method. In