code: def select_voters(voters):
      sequences_dict = {}
      for i, voter in enumerate(voters):
          SequenceVoter.count_sequences(sequences_dict, i, voters)
  
      sequences = sequences_dict.values()
  
      for sequence in sequences:
          sequence.compute_median()
  
      for i, voter in enumerate(voters):
          voter.compute_distance(i, sequences)
  
      voters.sort(key=lambda v: v.distance)
  
file_path: calamari/calamari_ocr/ocr/voting/sequence_voter.py
imports: import numpy
  from calamari_ocr.ocr.dataset.textprocessors import synchronize
  from calamari_ocr.ocr.voting.voter import Voter
label_desc: Use image node_id 7 for calling the SequenceVoter obj's underlying member method code with example usage: obj.select_voters(voters) without return types