you could use traci.gui.screenshot:
https://sumo.dlr.de/pydoc/traci._gui.html#GuiDomain-screenshot

Am Do., 17. März 2022 um 00:29 Uhr schrieb Paul Gazel-Anthoine <
[email protected]>:

> Hi,
>
> I'm using SUMO in a Reinforcement Learning project and I'm looking for a
> way to provide the image of the simulation to my agent.
>
> Is there a way to obtain the simulation image as a matrix ? (Through
> Traci).
> Something like obtaining the value of the pixel in the simulation through
> x, y coordinates.
>
> Thank you in advance.
>
> Cordially,
> Paul.
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to