Difference between revisions of "RK ALL ADV MEDIA FRAME"
From ESS-WIKI
Zhihao.zhu (talk | contribs) (Undo revision 40957 by Zhihao.zhu (talk)) |
Zhihao.zhu (talk | contribs) |
||
| Line 2: | Line 2: | ||
= '''Preface''' = | = '''Preface''' = | ||
| − | == | + | == Effectiveness & Optimization == |
| − | === RK3588/RK3576 | + | Single-process performance analysis: |
| + | |||
| + | {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | evaluation parameter | ||
| + | | style="width: 178px; text-align: center;" | First Version | ||
| + | | style="width: 150px; text-align: center;" | Second Version | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | CPU | ||
| + | | style="width: 178px; text-align: center;" | 110% | ||
| + | | style="width: 150px; text-align: center;" | 39% | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | Mem | ||
| + | | style="width: 178px; text-align: center;" | 5.6% | ||
| + | | style="width: 150px; text-align: center;" | 2.0% | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | FPS | ||
| + | | style="width: 178px; text-align: center;" | 15-20 | ||
| + | | style="width: 150px; text-align: center;" | 30 | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | Delay | ||
| + | | style="width: 178px; text-align: center;" | ≥360ms | ||
| + | | style="width: 150px; text-align: center;" | ≤300ms | ||
| + | |- | ||
| + | | style="width: 157px; text-align: center;" | | ||
| + | | style="width: 178px; text-align: center;" | | ||
| + | | style="width: 150px;" | | ||
| + | |} | ||
| + | |||
| + | == RK3588/RK3576 == | ||
*Support for IP cameras, MIPI cameras, and local video input. | *Support for IP cameras, MIPI cameras, and local video input. | ||
Revision as of 10:00, 29 September 2025
Contents
Preface
Effectiveness & Optimization
Single-process performance analysis:
| evaluation parameter | First Version | Second Version |
| CPU | 110% | 39% |
| Mem | 5.6% | 2.0% |
| FPS | 15-20 | 30 |
| Delay | ≥360ms | ≤300ms |
RK3588/RK3576
- Support for IP cameras, MIPI cameras, and local video input.
- Support decoding, inference and playback of streaming media data.
- Support display of playback frame rate and inference time.
- Support configuration file parsing.
App User Manual
The Demo supports multiple video source inputs and inference.:
adv_rknn_yolov5
cd /tools/test/adv/npu2/adv_rknn_yolov5/ # Local video playback,demo supports input of mp4 videos encoded with h264; it also supports input of h264 and h265 videos. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 ffmpeg -i test.mp4 -vcodec h264 test.h264 ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h264 264 ffmpeg -i test.mp4 -vcodec h265 test.h265 ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h265 265 # Camera Preview. The camera input source is based on the Linux v4l2 architecture and the device node is confirmed. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /dev/video41 264 # IP Camera Preview, Instruction example is given using Dahua IP cameras as an example. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn "rtsp://admin:Advantech@192.168.1.108:554/cam/realmonitor?channel=1&subtype=0" 264 # Configuration file input ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 model/win_1080P_1.conf # 1080P monitor - Four-channel playback(Two cameras, two local videos) ./run_1920x1080.sh