Drone Analytics
Location
This example is located in the internal/iot-platform/examples/drone-yolov7 directory.
Installation
We use an RTMP to RTSP converter as DJI sends the stream as RTMP and we want to have a transcoder for it.
docker run --rm -it --network=host aler9/rtsp-simple-server
Now connect the drone to rtmp://localhost:1935/main and it will be available as rtsp://localhost:8554/main.
Running
To run analytics, simply execute the below:
pip install -r requirements.txt
python main.py