import cv2
import matplotlib.pyplot as plt
img = cv2.imreadmulti("testsampleLV movie 2.tif", [], cv2.IMREAD_UNCHANGED)
# img is a tuple, the first element is True, the second element is a list of array.
plt.imshow(img[0][1])
plt.show()
opencv读取多帧图像
最新推荐文章于 2022-03-03 17:30:42 发布