1

When I am showing image by matlotlib imshow() function, it makes image blurry, however, when I am using cv2.imshow(), it keeps the image as sharp as possible without any sort of blurry effect.

I am using the following code:

read_image = cv2.imread('img1.jpg',0)
plt.imshow(read_image, cmap = 'gray')

By cv2 we can use the following line of code:

cv2.imshow("Image displayed by cv2", read_image)

Can some one provide some needful assistance?

Arshad
  • 351
  • 1
  • 2
  • 15

0 Answers0