image_arr seems to be a python list. Can you tell us the shape of image_arr[0]?
If the shape of each element of image_arr  looks like [height,width,channels] then the output of np.mean(image_arr,axis=(0,1,2)) should be an array of three values.