Feb-25-2019, 09:57 AM
Good Morning,
I'm new Python so please bear with me.
I am using the np.vstack funtion from numpy to vertically stack some images on a raspberry pi.
There is a line in the code:
Thanks for your help in advance,
Rhys
I'm new Python so please bear with me.
I am using the np.vstack funtion from numpy to vertically stack some images on a raspberry pi.
There is a line in the code:
imgs_comb = np.vstack((np.asarray(i.resize(min_shape)) for i in imgs))I am trying to break down the for loop so that I can put a small delay in between the stacking of each image:
for i in imgs: imgs_comb = np.vstack((np.asarray(i.resize(min_shape)))) time.sleep(1)The code falls over when I then try and save the overall image.
Thanks for your help in advance,
Rhys