hwo to reshape flatten imaage into a shape using cv2 code example
Example: flatten image python numpy
x_data = np.array( [np.array(cv2.imread(imagePath[i])) for i in range(len(imagePath))] )
pixels = x_data.flatten().reshape(1000, 12288)
print pixels.shape