How to get the image as the observation in the "reacher"


Typically, we can get the joint angle as the observation in the “reacher” task with the assistance of OPENAI GYM. However, now I need to get the picture of the reacher as the observation to test the DRL algorithm. How should modify the file “” or anything else?
Thanks a lot


I have the same problem with you.I would like to know if there is a function in gym that can
capture the image of the demo window.I want to use the image of every moment to be the input of DNN.Do you find the solution?


Did you find a solution?


You can run:

screen = env.render(mode='rgb_array')