diff --git a/upbot_SORT/README.md b/upbot_SORT/README.md index f8046d0..ff9ae00 100644 --- a/upbot_SORT/README.md +++ b/upbot_SORT/README.md @@ -41,9 +41,16 @@ sudo cat /sys/kernel/debug/rknpu/load #查看npu占用 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) diff --git a/upbot_SORT/image/1.jpg b/upbot_SORT/image/1.jpg new file mode 100644 index 0000000..8fbb080 Binary files /dev/null and b/upbot_SORT/image/1.jpg differ diff --git a/upbot_SORT/image/2.jpg b/upbot_SORT/image/2.jpg new file mode 100644 index 0000000..24ec457 Binary files /dev/null and b/upbot_SORT/image/2.jpg differ diff --git a/upbot_SORT/image/3.jpg b/upbot_SORT/image/3.jpg new file mode 100644 index 0000000..0004f9e Binary files /dev/null and b/upbot_SORT/image/3.jpg differ