for my project, I have to work with the X variable which is a ndarray that represents "The different color bands/channels are stored in the third dimension, such that a gray-image is MxN, an RGB-image MxNx3 and an RGBA-image MxNx4"
In my case it would be a "RGB-image MxNx3". For example, It is obtained with :
"from skimage.io import imread
X = imread('figure.jpg')"
Using the camera, I am able to save a *.jpg with :
"qStill = device.getOutputQueue(name="still", maxSize=30, blocking=True)
BUT I want to work directly with the buffer "qStill.get().getData()" and I do not want to create an image with "f.write(qStill.get().getData())"
So my question : how can I use the numpy.ndarray "qStill.get().getData()" in order to obtain a "RGB-image MxNx3" ndarray
Thank you for your help !