class_docstr: Pixel observation wrapper for obtaining pixel observations.
  
  Instead of returning the default environment observation, the wrapped
  environment's render function is used to produce RGB pixel observations.
  
  This behaves like gym.wrappers.PixelObservationWrapper but returns a
  gym.spaces.Box observation space and observation instead of
  a gym.spaces.Dict.
  
  Args:
      env (gym.Env): The environment to wrap. This environment must produce
          non-pixel observations and have a Box observation space.
      headless (bool): If true, this creates a window to init GLFW. Set to
          true if running on a headless machine or with a dummy X server,
          false otherwise.
docstr: gym.Env reset function.
  
  Args:
      kwargs (dict): Keyword arguments to be passed to gym.Env.reset.
  
  Returns:
      np.ndarray: Pixel observation of shape :math:`(O*, )`
          from the wrapped environment.
code: def reset(self, **kwargs):
      """gym.Env reset function.
  
      Args:
          kwargs (dict): Keyword arguments to be passed to gym.Env.reset.
  
      Returns:
          np.ndarray: Pixel observation of shape :math:`(O*, )`
              from the wrapped environment.
      """
      return self.env.reset(**kwargs)["pixels"]
  
file_path: garage/src/garage/envs/wrappers/pixel_observation.py
imports: import gym
  from gym.wrappers.pixel_observation import PixelObservationWrapper
label_desc: Use image node_id 4 for calling the PixelObservationWrapper obj's underlying member method code with example usage: obj.reset() and returns: self