不过根据我的经验,imageio 处理视频比 openCV 更靠谱一些。不过 imageio 读进来是 RGB 的,你需要手动转成 openCV 的 BGR。
-- Justin Wong On Sat, Jul 22, 2017, at 15:21, Justin Wong wrote: > 我们是忠实镜像,如果conda不支持我们也木有办法呀 > > > -- > Justin Wong > > On Sat, Jul 22, 2017, at 14:54, [email protected] wrote: > > 我实验了下opencv(我用的是IBM的powerpc的处理器) > > 我用conda install opencv装的,结果import cv2后无法读取视频文件的每一帧。 > > > > import cv2 > > cap = cv2.VideoCapture(video_path) > > print(cap.isOpened()) > > 返回False > > > > -- > > > > --- > > You received this message because you are subscribed to the Google Groups > > "TUNA 主邮件列表" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "TUNA 主邮件列表" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
