code: def grab_frame(self):
      frame = np.array(
          self.screen_grabber.grab(
              {
                  "top": self.y_offset,
                  "left": self.x_offset,
                  "width": self.width,
                  "height": self.height,
              }
          ),
          dtype="uint8",
      )
  
      frame = frame[..., [2, 1, 0, 3]]
  
      return frame[..., :3]
  
file_path: SerpentAI/serpent/frame_grabber.py
imports: import numpy
  import mss
  from redis import StrictRedis
  from serpent.config import config
  import time
  from serpent.game_frame import GameFrame
  from serpent.game_frame_buffer import GameFrameBuffer
  from serpent.frame_transformation_pipeline import FrameTransformationPipeline
label_desc: Use image node_id 3 for calling the FrameGrabber obj's underlying member method code with example usage: obj.grab_frame() and returns: frame