Minor fixes to README.md file in rtsp_ai_player

This commit is contained in:
Tuomas Järvinen
2024-07-14 20:16:30 +02:00
parent 2ed17c3953
commit ce2b31a388
+2 -2
View File
@@ -2,14 +2,14 @@
`rtsp_ai_player` is an application that listens to an RTSP stream, analyzes images with an AI model, and shows the results visually. It also controls a gimbal camera to zoom in on the recognized objects. Application uses YOLOv8 AI models converted to the ONNX format. `rtsp_ai_player` is an application that listens to an RTSP stream, analyzes images with an AI model, and shows the results visually. It also controls a gimbal camera to zoom in on the recognized objects. Application uses YOLOv8 AI models converted to the ONNX format.
## How to convert PT file to ONNX format ### How to convert PT file to ONNX format
```bash ```bash
yolo export model=azaion-2024-06-28.pt dynamic=False format=onnx imgsz=640,640 yolo export model=azaion-2024-06-28.pt dynamic=False format=onnx imgsz=640,640
``` ```
## How to use application locally on a Linux PC. ## How to use application locally on a Linux PC.
# Install ONNX runtime ### Install ONNX runtime
wget https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-1.18.0.tgz wget https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-1.18.0.tgz
sudo tar xf onnxruntime-linux-x64-1.18.0.tgz -C /opt sudo tar xf onnxruntime-linux-x64-1.18.0.tgz -C /opt