mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-23 06:16:36 +00:00
add scripts for orange pi install all libs and run inference using rknn model
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user