有没有办法将用Python流式传输小型无人机的延迟降至最低?
我使用Djitellopy库来控制我的Tello无人机。
但是问题是视频流的延迟。
这是与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 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论