mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 21:46:35 +00:00
243b69656b
- Modified `.gitignore` to reflect the new path for test results. - Updated `docker-compose.test.yml` to mount the correct test results directory. - Adjusted `Dockerfile.test` to set the `PYTHONPATH` and ensure test results are saved in the updated location. - Added `boto3` and `netron` to `requirements-test.txt` to support new functionalities. - Updated `pytest.ini` to include the new `pythonpath` for test discovery. These changes streamline the testing process and ensure compatibility with the updated directory structure.
14 lines
378 B
Bash
14 lines
378 B
Bash
# 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
|