Difference between revisions of "RK ALL ADV MEDIA FRAME"

From ESS-WIKI
Jump to: navigation, search
(Effectiveness & Optimization)
(Effectiveness & Optimization)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
 
= '''Preface''' =
 
= '''Preface''' =
 +
 +
  
  
Line 7: Line 9:
 
Single-process performance analysis:
 
Single-process performance analysis:
  
[[File:Adv media frame 1.png]]
+
[[File:Adv media frame 1.png|RTENOTITLE]]
  
{| 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 ==
 
== RK3588/RK3576 ==

Latest revision as of 02:34, 11 October 2025

Preface

Effectiveness & Optimization

Single-process performance analysis:

RTENOTITLE

 

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
# When you conduct the function demonstration using a 4K display, you need to follow these instructions: ln -s run_3840x2160.sh run.sh.
# Just execute the following command. The default display resolution will be 1080P.
cp /tools/test/adv/npu2/adv_rknn_yolov5/adv-rknn-yolov5.service /lib/systemd/system/
systemctl enable adv-rknn-yolov5.service