docstr: Finds the corresponding matches on the fingerprinted audios for the given hashes.
  
  :param hashes: list of tuples for hashes and their corresponding offsets
  :return: a tuple containing the matches found against the db, a dictionary which counts the different
   hashes matched for each song (with the song id as key), and the time that the query took.
docstr_tok: ["Finds","the","corresponding","matches","on","the","fingerprinted","audios","for","the","given","hashes",".",":","param","hashes",":","list","of","tuples","for","hashes","and","their","corresponding","offsets",":","return",":","a","tuple","containing","the","matches","found","against","the","db",",","a","dictionary","which","counts","the","different","hashes","matched","for","each","song","(","with","the","song","id","as","key",")",",","and","the","time","that","the","query","took","."]
code: def find_matches(
      self, hashes: List[Tuple[str, int]]
  ) -> Tuple[List[Tuple[int, int]], Dict[str, int], float]:
      """
      Finds the corresponding matches on the fingerprinted audios for the given hashes.
  
      :param hashes: list of tuples for hashes and their corresponding offsets
      :return: a tuple containing the matches found against the db, a dictionary which counts the different
       hashes matched for each song (with the song id as key), and the time that the query took.
  
      """
      t = time()
      matches, dedup_hashes = self.db.return_matches(hashes)
      query_time = time() - t
  
      return matches, dedup_hashes, query_time
  
imports: import multiprocessing
  import os
  import sys
  import traceback
  from itertools import groupby
  from time import time
  from typing import Dict, List, Tuple
  import dejavu.logic.decoder
  from dejavu.base_classes.base_database import get_database
  from dejavu.config.settings import DEFAULT_FS, DEFAULT_OVERLAP_RATIO, DEFAULT_WINDOW_SIZE, FIELD_FILE_SHA1, FIELD_TOTAL_HASHES, FINGERPRINTED_CONFIDENCE, FINGERPRINTED_HASHES, HASHES_MATCHED, INPUT_CONFIDENCE, INPUT_HASHES, OFFSET, OFFSET_SECS, SONG_ID, SONG_NAME, TOPN
  from dejavu.logic.fingerprint import fingerprint
label_desc: Use image node_id 8 for calling the Dejavu obj's underlying member method code with example usage: obj.find_matches(hashes) and returns: matches,  dedup_hashes,  query_time