from matplotlib import pyplot as plt
import cv2
img = cv2.imread(r'C:\Users\Manish
\Desktop\VNR CDC\Day 6\OpenCV\NTR.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
plt.imshow(gray)
plt.title('my picture')
plt.show()
import cv2
img = cv2.imread(r'C:\Users\Manish
\Desktop\VNR CDC\Day 6\OpenCV\NTR.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
plt.imshow(gray)
plt.title('my picture')
plt.show()
No comments:
Post a Comment