How to display the video that RGB camera sensor get on a screen synchronously or put carla.image data to a specific buffer using SHM

Hi there,
I have one problem to display the “video” that RGB camera sensor get on a screen synchronously or put carla.image data to a specific buffer using SHM.
The only way to get the sensor data for now i can know is through image.save_to_disk() function.
thanks a lot!

1 Like

You can use pygame for that = very good example carla/PythonAPI/examples/synchronous_mode.py or if you want to save it for later, you can put the whole image into a queue (sensor_synchronization.py) and save it after the ride.