I have some (950) 150x150x3 .jpg image files that I want to read into an Numpy array.
Following is my code:
X_data = [] files = glob.glob (\"*.jpg\") fo
Your definition for the .JPG frame that will be put into a matrix of the same size should should be x, y, R, G, B, A. "A" is not used, but it does take up 8 bits at the end of each pixel.