Opencv
import cv2 as cv
src=cv.imread('E:\imageload\example.png')
cv.namedWindow('input_image', cv.WINDOW_AUTOSIZE)
cv.imshow('input_image', src)
cv.waitKey(0)
cv.destroyAllWindows()
https://blog.csdn.net/abiggg/article/details/79118164
PIL and matplotlib
https://www.jianshu.com/p/db61875b73fb