code: def findAround(pic, pat, xy=None, r=None):
      """Find an image pattern in a picture optionally defining bounds to search.
  
      The image is found is ``pat`` is inside ``pic[x +/- r, y +/- r]``.
  
      Parameters
      ----------
  
      pic : numpy.ndarray
        Image where the pattern will be searched.
  
      pat : numpy.ndarray
        Pattern to search inside the image.
  
      xy : tuple or list, optional
        Position to search for the pattern. Use it in combination with ``radius``
        parameter to define the bounds of the search. If is ``None``, consider
        the whole picture.
  
      r : float, optional
        Radius used to define the bounds of the search when ``xy`` argument is
        defined.
      """
      if xy and r:
          h, w = pat.shape[:2]
          x, y = xy
          pic = pic[y - r : y + h + r, x - r : x + w + r]
  
      matches = cv2.matchTemplate(pat, pic, cv2.TM_CCOEFF_NORMED)
      yf, xf = np.unravel_index(matches.argmax(), matches.shape)
      return (x - r + xf, y - r + yf) if (xy and r) else (xf, yf)
  
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 2 for calling a global function with example usage: findAround(pic, pat, xy, r) and returns: unknown