您的位置:首页 > 运维架构

OpenPose VideoCapture (video) could not be opened for path: 'examples/media/video.avi'.

2018-01-14 19:41 1151 查看
好不容易安装完OpenPose,运行一下demo,发现出现以下问题:

Starting pose estimation demo.

Unable to stop the stream: Inappropriate ioctl for device

terminate called after throwing an instance of 'std::runtime_error'

what():

Error:

VideoCapture (video) could not be opened for path: 'examples/media/video.avi'.

Coming from:

src/openpose/producer/videoCaptureReader.cpp:VideoCaptureReader():33
src/openpose/producer/videoCaptureReader.cpp:VideoCaptureReader():37
Aborted (core dumped)

是不是很崩溃?没关系,重新编译安装一下OpenCV就好了。
https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/41
在官方github的issue中,作者提到可能是OpenCV的问题。果然重新编译一下就好了,估计是cuda的问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  OpenPose
相关文章推荐