Automated Screenshot Capturing

Hello everyone.

For a project, I am collecting birds eye view screenshots of the earth. You can consider these screenshots Google Maps lookalike. However, I need to collect tens of thousands of images. I am looking for a way of automating this process.

I also need to capture the exact same image with different weather conditions. I am basically collecting a dataset of the land with different weather conditions and with different altitudes.

Consider this. I do this by creating a flight plan, start the flight, adjust the drone camera to look directly at the ground, adjust the altitude with yoke mode, open the AI assist and basically take screenshots with F12 (I use Steam). When it comes to a different weather condition, I have to pause the sim, take a screenshot, change the weather, take the screenshot again and continue doing this. As you can see, this would take thousands of hours to complete the dataset. It would also be great to be able to change the altitude, which changes the cm/px resolution of the land pictures.

I am a starter when it comes to using any type of SDK and I would love any type of suggestion. I need to automate this process as much as I can.

Thank you in advance for sharing your valuable ideas.

The first question that comes to mind is… how legal is this?

Great question. It is for a scientific work. I also did the research and found nothing against using MSFS for a scientific project. I can already collect the mentioned data, I see no reason not to automate it. There are SDKs and Developer mode. It seems pretty ok.