Take photo with Zed 2i during body tracking

is there an example in C++ for taking photos with the Zed 2i camera?
Can it be done during a body tracking?
I am making a wii-sport like game and would like to take photos of the player during the game.

Besides, it is possible to take a photo of only what is within 2 meters ange for example?

Hi @robotpapier
you can add image save commands just after a call to the retrieveImage function:

1 Like