图像采集
从 Ryze 无人机 FPV 摄像头采集图像
创建一个 camera
对象以建立与 Ryze 无人机 FPV 摄像头的连接。使用 snapshot
函数采集单个图像,或设置循环采集多个图像。使用 preview
函数查看摄像头的实时视频流。
函数
camera | Connection to Ryze drone's camera (自 R2020a 起) |
preview | Preview live video data from Ryze drone camera (自 R2020a 起) |
snapshot | Acquire single image frame from Ryze drone camera (自 R2020a 起) |
closePreview | Close Ryze drone camera preview window (自 R2020a 起) |
疑难解答
Troubleshoot Video Stream Access
The Ryze Tello drone streams FPV video to the UDP port number 11111.