code: def autoTrack(clip, pattern, tt=None, fps=None, radius=20, xy0=None):
      """Tracks a given pattern (small image array) in a video clip.
  
      Returns ``[(x1, y1), (x2, y2)...]`` where ``(xi, yi)`` are the coordinates
      of the pattern in the clip on frame ``i``. To select the frames you can
      either specify a list of times with ``tt`` or select a frame rate with
      ``fps``.
  
      This algorithm assumes that the pattern's aspect does not vary much and
      that the distance between two occurrences of the pattern in two consecutive
      frames is smaller than ``radius`` (if you set ``radius`` to -1 the pattern
      will be searched in the whole screen at each frame). You can also provide
      the original position of the pattern with xy0.
  
      Parameters
      ----------
  
      clip : video.VideoClip.VideoClip
        MoviePy video clip to track.
  
      pattern : numpy.ndarray
        Image to search inside the clip frames.
  
      tt : numpy.ndarray, optional
        Time frames used for auto tracking. As default is used the clip time
        frames according to its fps.
  
      fps : int, optional
        Overwrites fps value used computing time frames. As default, clip's fps.
  
      radius : int, optional
        Maximum radius to search looking for the pattern. Set to ``-1``,
        the pattern will be searched in the whole screen at each frame.
  
      xy0 : tuple or list, optional
        Original position of the pattern. If not provided, will be taken from the
        first tracked frame of the clip.
      """
      if not autotracking_possible:
          raise IOError(
              "Sorry, autotrack requires OpenCV for the moment. "
              "Install OpenCV (aka cv2) to use it."
          )
  
      if not xy0:
          xy0 = findAround(clip.get_frame(tt[0]), pattern)
  
      if tt is None:
          tt = np.arange(0, clip.duration, 1.0 / fps)
  
      xys = [xy0]
      for t in tt[1:]:
          xys.append(
              findAround(
                  clip.get_frame(t), pattern, xy=xys[-1], r=radius
              )
          )
  
      xx, yy = zip(*xys)
  
      return Trajectory(tt, xx, yy)
  
imports: import numpy
  from moviepy.decorators import convert_parameter_to_seconds, use_clip_fps_by_default
  from moviepy.video.io.preview import imdisplay
  from moviepy.video.tools.interpolators import Trajectory
label_desc: Use image node_id 3 for calling a global function with example usage: autoTrack(clip, pattern, tt, fps, radius, xy0) and returns: Trajectory