11-21-update
parent
115e466c7e
commit
dcbd70c391
|
@ -41,9 +41,16 @@ sudo cat /sys/kernel/debug/rknpu/load #查看npu占用
|
||||||
|
|
||||||
imgshow大约花费3.5ms(单帧图像imgshow的操作)
|
imgshow大约花费3.5ms(单帧图像imgshow的操作)
|
||||||
|
|
||||||
|
#### 视频读取分析
|
||||||
|
|
||||||
|
使用python opencv读取一段视频,仅进行读取,消耗时间在25ms左右。
|
||||||
|
|
||||||
|
![1](./image/1.jpg)
|
||||||
|
|
||||||
|
使用c++ opencv读取一段时间,仅进行读取,消耗时间在30ms左右,但也有40ms+和50ms+以及10ms的情况,不太稳定。
|
||||||
|
|
||||||
|
![2](./image/2.jpg)
|
||||||
|
|
||||||
|
c++不添加指定帧率(cap.set(cv::CAP_PROP_FPS, 30)),读取帧率速度花费时间会很长,不添加指定帧率的情况下读取一帧需要200ms。
|
||||||
|
|
||||||
|
![3](./image/3.jpg)
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 8.4 MiB |
Binary file not shown.
After Width: | Height: | Size: 9.7 MiB |
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue