小行星

热爱平淡,向往未知

  • Home
  • Categories
  • Archives
  • About
  • top
  • Search
  • Table of Contents
  • Overview

fangyh

最爱的是那苍穹之外的浩渺宇宙
597 posts
4 categories
66 tags
0%

python读取帧数

Posted on 2019-04-Thu Views: Views:
1
2
3
4
import imageio
vid_path = "/data/zhangjunpeng/data/tvsum/video/PJrm840pAUI.mp4"
vid = imageio.get_reader(vid_path, "ffmpeg")
print(vid.count_frames())
重启后 NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver
python path问题python2和python3
© 2022 fangyh
Powered by Hexo & NexT.Muse