Alex_Dynamics
lvl.1
Flight distance : 1588337 ft
Germany
Offline
|
Hello team DJI,
i have a Tello (non-edu) and try following the tutorial on Youtube using Python. (https://www.youtube.com/watch?v=LmEcyQnfpDA&t=2243s)
But there's always a problem with getting the video stream from Tello.
Short to say, the terminal showed the command ''stream_on'' is ''ok'' but actually PC couldn't get/show any video from Tello.
It would be nice if you could help me get the video stream from Tello!
Following is the script I used for video streaming:
--------------------------------------------------------------------------------------
import time
from djitellopy import tello
import cv2
me = tello.Tello()
me.connect()
print(me.get_battery())
me.streamon()
print(me.get_udp_video_address())
while True:
img = me.get_frame_read().frame
cv2.imshow("Image", img)
cv2.waitKey(1)
--------------------------------------------------------------------------------------
|
|