|
发表于 2023-7-25 20:48:44
只看该作者
5#
可是我 v4l2-ctl -d /dev/video0 --all分别查看了其他10个video设备显示的内容都是一样的。并且capture = cv2.VideoCapture(0)中修改为0~11输出内容都报错了,内容如下:
<lo/rknn-toolkit2/rknn_toolkit_lite2/examples/test# python detect.py
--> Load RKNN model
done
I RKNN: [09:24:52.528] RKNN Runtime Information: librknnrt version: 1.4.0 (a10f100eb@2022-09-09T09:07:14)
I RKNN: [09:24:52.529] RKNN Driver Information: version: 0.8.2
I RKNN: [09:24:52.533] RKNN Model Information: version: 1, toolkit version: 1.4.0-22dcfef4(compiler version: 1.4.0 (3b4520e4f@2022-09-05T20:52:35)), target: RKNPU v2, target platform: rk3588, framework name: ONNX, framework layout: NCHW
done
[ WARN:0@10.713] global cap_v4l.cpp:1119 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
Traceback (most recent call last):
File "/home/firefly/software/yolo/rknn-toolkit2/rknn_toolkit_lite2/examples/test/detect.py", line 210, in <module>
raise ValueError("error reading")
ValueError: error reading |
|