|
【Linux】
opencv中执行cap>>img卡死,debug到此处varibales信息消失
发表于 2023-12-28 11:16:56
浏览:2323
|
回复:6
打印
只看该作者
[复制链接]
楼主
在检测对象是mp4视频时,opencv中执行到cap>>img卡死,debug到此处varibales信息消失,但换成jpg图片就能执行成功。视频文件能够用cv::CAP_FFMPEG正常打开。
[NN_INFO] Video size: 1920 x 1080, fps: 30
[NN_INFO] rknn_init success!
[NN_INFO] RKNN API version: 1.5.3b6 (181ec8d8b@2023-09-12T17:11:43)
[NN_INFO] RKNN Driver version: 0.8.2
[NN_INFO] model input num: 1, output num: 3
[NN_INFO] input tensors:
[NN_INFO] index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
[NN_INFO] output tensors:
[NN_INFO] index=0, name=output0, n_dims=4, dims=[1, 255, 80, 80], n_elems=1632000, size=1632000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=69, scale=0.093581
[NN_INFO] index=1, name=354, n_dims=4, dims=[1, 255, 40, 40], n_elems=408000, size=408000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=49, scale=0.085973
[NN_INFO] index=2, name=355, n_dims=4, dims=[1, 255, 20, 20], n_elems=102000, size=102000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=43, scale=0.083459
^C
|
|