add scripts for orange pi install all libs and run inference using rknn model

This commit is contained in:
Alex Bezdieniezhnykh
2024-10-04 00:14:46 +03:00
parent d09e16b5a7
commit b23d1639ae
4 changed files with 77 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# 1 terminal: run mediamtx as rtsp server
cd ~/mediamtx
./mediamtx
# 2 terminal: run rtsp
ffmpeg -re -stream_loop -1 -i ~/videos/ForAI.mp4 -c copy -f rtsp rtsp://localhost:8554/live.stream
# 3 terminal: test and stop.
ffplay -rtsp_transport tcp rtsp://localhost:8554/live.stream
# 3 terminal: inference
cd ~/autopilot/misc/rtsp_ai_player/build
./rtsp_ai_player ~/azaion.rknn