修改指南
This commit is contained in:
parent
1a16d72b32
commit
8e160c84f6
@ -23,10 +23,14 @@ ffmpeg -stream_loop -1 -re -i "boots.mp4" -c:v libx264 -preset fast -tune zerola
|
||||
ffplay rtsp://localhost:8554/cam
|
||||
|
||||
在3588上测试RTSP输出
|
||||
ffplay rtsp://localhost:8555/live/cam1_face_det
|
||||
ffplay rtsp://localhost:8555/live/cam1
|
||||
|
||||
查看HLC输出
|
||||
http://10.0.0.50:9000/hls_player.html
|
||||
|
||||
|
||||
- 在 Windows 上用 VLC 播放处理后的流:
|
||||
rtsp://3588的IP:8555/live/cam1_face_det
|
||||
rtsp://10.0.0.50:8555/live/cam1
|
||||
|
||||
- 编译agent
|
||||
go build -o rk3588-agent_linux_arm64 ./cmd/rk3588-agent
|
||||
@ -35,35 +39,23 @@ go build -o rk3588-agent_linux_arm64 ./cmd/rk3588-agent
|
||||
- 运行模拟告警服务
|
||||
python .\mock_alarm_server.py
|
||||
|
||||
uv run scripts/mock_alarm_server.py
|
||||
|
||||
然后在 RK3588 上测试 token 接口:
|
||||
curl -X POST http://10.0.0.49:8080/api/getToken
|
||||
|
||||
|
||||
- best-640.rknn模型只检测3类
|
||||
|
||||
类别映射:
|
||||
0 = person(人)
|
||||
1 = shoe(鞋子)✅
|
||||
2 = phone(手机)
|
||||
|
||||
# 实时查看NPU负载(每秒刷新)
|
||||
watch -n 1 cat /proc/rknpu/load
|
||||
|
||||
# 实时查看温度
|
||||
watch -n 1 'for f in /sys/class/thermal/thermal_zone*/temp; do echo "$(basename $(dirname $f)): $(( $(cat $f) / 1000 ))°C"; done'
|
||||
|
||||
# 查看编码器FPS
|
||||
watch -n 1 'grep -E "fps_calc|RKVENC" /proc/mpp_service/sessions-summary | head -20'
|
||||
- 运行后台管理服务
|
||||
go run .\cmd\managerd\main.go .\managerd.json
|
||||
|
||||
# 综合监控(运行脚本)
|
||||
~/apps/OrangePi3588Media/scripts/monitor_hw.sh
|
||||
~/apps/OrangePi3588Media/scripts/ops.sh hw
|
||||
|
||||
|
||||
- 标准单路全流程测试:
|
||||
./build/media-server -c configs/sample_cam_ppe11.json
|
||||
./build/media-server -c configs/sample_cam_ppe12.json
|
||||
|
||||
- 5路全流程压力测试
|
||||
./build/media-server --config configs/stress_5ch_face_recog.json
|
||||
./build/media-server --config configs/stress_5ch_stretch.json
|
||||
|
||||
- PT模型转RKNN
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user