code: def find(f, template):
      """Match template to image exactly
  
      coordinates = find(f, template)
  
      The output is in the same format as the ``np.where`` function.
  
      Parameters
      ----------
      f : ndarray
          input. Currently, only 2-dimensional images are supported.
      template : ndarray
          Template to match. Must be explicitly passed, no default.
  
      Returns
      -------
      match : np.array
      coordinates : np.array
          These are the coordinates of the match. The format is similar to the
          output of ``np.where``, but in an ndarray.
  
      """
      if f.ndim != 2:
          raise ValueError(
              "mahotas.find: Cannot handle multi-dimensional images"
          )
      template = template.astype(f.dtype)
      out = np.empty(f.shape, bool)
      return _convolve.find2d(f, template, out)
  
imports: import numpy
  from .None import _convolve
  from .None import morph
  from .internal import _get_output, _normalize_sequence, _verify_is_floatingpoint_type, _as_floating_point_array
  from ._filters import mode2int, modes, _check_mode
label_desc: Use image node_id 7 for calling a global function with example usage: find(f, template) and returns: _convolve