I attempted to download 350 images from the Anafi AI web server using the download_media code. However, the code crashes after downloading some images due to a temporary loss of connection to the drone media API. Is there a way to fix this problem and successfully download all images without losing the connection using the download_media code?
Hi,
I guess that you’re using Olympe media API to download images from the drone web API using the olympe.media.download_media expectation. Can you confirm this assumption? Which version of Olympe are you using?
Can you please be more specific? Can you share some logs?
What do you mean by the “code crashes”?
Anyway, if the connection is temporarily interrupted while downloading a media you should resume the download once the connection is reestablished. The download_media
Olympe API does not resume the download automatically if that’s your question.
This topic was automatically closed after 30 days. New replies are no longer allowed.