-2

I'm working now with image processing and for debugging I want to see both the image before processing and after. I'm using pycharm. Can I display 2 images, one at a window, at the same time?

vered
  • 19
  • 5

1 Answers1

1

You can try

import matplotlib.pyplot as plt
f, ax = plt.subplots(1,2)

ax[0].imshow(img1) #first image
ax[1].imshow(img2) #second image
plt.show()
abhilb
  • 5,639
  • 2
  • 20
  • 26