code: def multi_feat_match(template, image, options=None):
      
      h, w = image.shape[:2]
      scale = 1
      if options is not None and 'features' in options:
          heatmap = np.zeros((h, w), dtype=np.float64)
          for foptions in options['features']:
              f_hmap, _ = feature_match(template, image, foptions)
              heatmap += cv.resize(f_hmap, (w, h), interpolation=cv.INTER_AREA)
          heatmap /= len(options['features'])
      else:
          heatmap, scale = feature_match(template, image, options)
      return heatmap, scale
docs: Match template and image by extracting multiple features (specified) from it.
  
      :param template: Template image
      :param image:  Search image
      :param options: Options include
          - features: List of options for each feature
      :return: