darknet yoloV3 摄像头检测不到

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34806812/article/details/82108099

问题:使用笔记本跑yolo无法检测到自带摄像头,可以用usb摄像头

Couldn't connect to webcam.
: Resource temporarily unavailable
darknet: ./src/utils.c:256: error: Assertion `0' failed.
已放弃 (核心已转储)

不能连接到笔记本摄像头

使用 ls /dev 查看设备:未发现video0的块设备

cheese命令显示摄像头出错:未发现设备

** (cheese:31425): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed

估计是摄像头驱动问题:

ubuntu论坛上有如下解决方式:Turned out the uvcvideo driver wasn't installed correctly. I uninstalled libuvc-git form the aur and rebuilt the kernel and it was fixed.

解决方式:

折腾半天,装摄像头驱动和其他的,都没有效果,最后解决是通过切换到window下面通过控制软件启用了笔记本摄像头功能(微星自带的笔记本控制软件),ubuntu才能够检测到摄像头,实在是尴尬。

猜你喜欢

转载自blog.csdn.net/qq_34806812/article/details/82108099