code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.observation_space = gym.spaces.Box(
          -1.0,
          1.0,
          shape=self.observation_space.shape,
          dtype=np.float32,
      )
  
imports: from collections import deque
  import gymnasium
  from gymnasium import spaces
  import numpy
  from typing import Union
  from ray.rllib.utils.annotations import PublicAPI
  from ray.rllib.utils.images import rgb2gray, resize
label_desc: Use image node_id 1 to create a new NormalizedImageEnv object from inherited base classes: gym with example: obj = NormalizedImageEnv()