简体   繁体   English

如何使用 DJI SDK (Swift) 在每个 Waypoint 处理图像?

[英]How do I process an image at each Waypoint using the DJI SDK (Swift)?

In my app, I need to use DJI SDK to get the UIImage equivalent of the image file on the SD card for each Waypoint.在我的应用程序中,我需要使用 DJI SDK 为每个 Waypoint 获取 SD 卡上图像文件的 UIImage 等效项。 So far, I've used DJIWaypointAction to take the photo, but I need to somehow get the photo back to do some processing on it.到目前为止,我已经使用 DJIWaypointAction 拍摄照片,但我需要以某种方式取回照片以对其进行一些处理。

In other words, how would I call a "non-DJIWaypointAction" method when the drone reaches each of the Waypoints.换句话说,当无人机到达每个航点时,我将如何调用“非 DJIWaypointAction”方法。 Help is appreciated, thanks.感谢帮助,谢谢。

There is no timeline action to download a picture from the SD card.没有从 SD 卡下载图片的时间线操作。 You will have to listen to the waypoint events and download the picture from you own code.您将不得不收听航点事件并从您自己的代码中下载图片。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM