Skip to content

I want to setup a livestream using the RTMP and NGINX server for a DJI drone. #12839

Discussion options

You must be logged in to vote

Certainly! Setting up a live stream with RTMP and NGINX for your DJI drone and integrating it with your custom YOLOv8 model for real-time detection sounds like an exciting project! Here’s a brief guide to get you started:

  1. RTMP Server Setup with NGINX:

    • Install NGINX and the RTMP module. You can find a good tutorial on how to do this here.
    • Configure NGINX to receive the RTMP stream from your drone. You'll need to modify the nginx.conf file to include the RTMP module settings.
  2. Integrate YOLOv8 for Real-Time Detection:

    • Use the Python cv2 library to capture video frames from the RTMP stream.
    • Load your trained YOLOv8 model and pass the video frames to it for detection.
    import cv2
    from u…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ShabanWaris1234
Comment options

You must be logged in to vote
3 replies
@ccamacho
Comment options

@glenn-jocher
Comment options

@ShabanWaris1234
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants