欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

opencv读取多帧图像

程序员文章站 2022-03-31 20:53:54
...
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()
相关标签: python