-
It looks like from gymnasium.wrappers.record_video import RecordVideo
env = safety_gymnasium.make("SafetyRacecarGoal1-v0", render_mode="rgb_array")
env = RecordVideo(env, './videos') I've also seen others render videos from a 3rd-person perspective, but I can only manage to get 1st-person perspective videos rendered. Does anyone know how to change this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please refer to documentation for API and camera options on rendering the image, and follow this example file for saving images accordingly. For complete example, you can refer to here. |
Beta Was this translation helpful? Give feedback.
Please refer to documentation for API and camera options on rendering the image, and follow this example file for saving images accordingly. For complete example, you can refer to here.