- librga:RGA_GET_VERSION:3.02,3.020000
- ctx=0x5574a74e90,ctx->rgaFd=3
- Rga built version:version:+2017-09-28 10:12:42
- This system has 6 processor(s).
- Bind NPU process(1) to CPU 5
- Bind VideoCapture process to CPU 2
- Bind NPU process(0) to CPU 4
- Bind Display process to CPU 3
- [mpeg4_v4l2m2m @ 0x7f90002750] Could not find a valid device
- [mpeg4_v4l2m2m @ 0x7f90002750] can't configure decoder
- [ WARN:0] OpenCV | GStreamer warning: GStreamer: pipeline have not been created
- [ERROR:0] VIDEOIO(createGStreamerCapture(filename)): raised OpenCV exception:
- OpenCV(3.4.7) /home/firefly/Downloads/opencv-3.4.7/modules/videoio/src/cap_gstreamer.cpp:160: error: (-215:Assertion failed) ptr in function 'get'
- VIDIOC_REQBUFS: Inappropriate ioctl for device
- Fail to open test1_405.mp4
- D RKNNAPI: ==============================================
- D RKNNAPI: RKNN VERSION:
- D RKNNAPI: API: 1.4.0 (bbe0dfc build: 2020-09-14 14:06:05)
- D RKNNAPI: DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
- D RKNNAPI: ==============================================
- D RKNNAPI: ==============================================
- D RKNNAPI: RKNN VERSION:
- D RKNNAPI: API: 1.4.0 (bbe0dfc build: 2020-09-14 14:06:05)
- D RKNNAPI: DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
- D RKNNAPI: ==============================================
- The initialization of NPU Process 0 has been completed.
- The initialization of NPU Process 1 has been completed.
复制代码
- librga:RGA_GET_VERSION:3.02,3.020000
- ctx=0x55cfa9de90,ctx->rgaFd=3
- Rga built version:version:+2017-09-28 10:12:42
- mpi: mpp version: 1614c5d4 author: Caesar Wang debian: add rules for mpp with 20191031
- mpp_rt: NOT found ion allocator
- mpp_rt: found drm allocator
- mpp: deprecated block control, use timeout control instead
- mpp: deprecated block control, use timeout control instead
- [swscaler @ 0x55cfade7c0] drm_prime is not supported as input pixel format
- terminate called after throwing an instance of 'cv::Exception'
- what(): OpenCV(3.4.7) /home/firefly/Downloads/opencv-3.4.7/modules/highgui/src/window.cpp:358: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
- Aborted (core dumped)
复制代码
API使用的是github上1.6.0版本的,请问大家能正确读取视频文件吗?欢迎大佬赐教!sunkai 发表于 2021-4-1 15:10
请问一下,c++版本的代码在哪里获取的
CQQQQQQQQQQ 发表于 2021-4-2 11:50
找到原因了,opencv存储的图片是BGR模式,改成RGB模式就ok了。即程序里面run_process函数中关于cvtColor的 ...
sunkai 发表于 2021-4-2 14:11
请问一下,你是在3399上面跑的,运行步骤能大概说下吗,是需要添加opencv的包先进行编译再运行吗 ...
sunkai 发表于 2021-4-6 10:56
你好,官方给的opencv中好像不能直接调用 videocapture方法吧,请问您是怎么处理的,编译opencv源文件吗 ...
Devin 发表于 2021-4-7 15:28
你测的20ms是推理时间还是包括了nms等后处理时间?
CQQQQQQQQQQ 发表于 2021-4-12 11:04
是包括了nms等后处理时间,
Devin 发表于 2021-4-13 10:49
哦哦,你是在3399pro上测的还是1808上测的
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |