import cv2
import matplotlib.pyplot as plt
image = cv2.imread('YOUR_FILEPATH')
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
plt.imshow(image)
plt.show()
import cv2 as cv
img=cv.imread("images/all_animals.png")
cv.imshow("all_animals",img)
cv.waitKey(0)
img = cv2.imread('filename.jpg',1)
cv2.imread(path , flag) #reading an image using opencv library