Is there a way to minimize the latency of streaming tello drone with python?

822 views Asked by At

I used djitellopy library to control my Tello drone.

But the problem is the latency of the video stream.

This is the minimal example of video streaming with Tello drone:

from djitellopy import tello
import cv2


drone = tello.Tello()
drone.connect()
drone.streamon()

while True:
    img = drone.get_frame_read().frame
    cv2.imshow('stream', img)
    cv2.waitKey(1)

I really appreciate it if there are any viable solutions and not just suggestions.

0

There are 0 answers