code: def vote_prediction_result(self, prediction_results):
      if len(prediction_results) == 0:
          raise Exception("Empty prediction results")
      elif len(prediction_results) == 1:
          # no voting required
          return deepcopy(prediction_results[0].prediction)
      else:
          return self.vote_prediction_result_tuple(
              tuple(prediction_results)
          )
  
file_path: calamari/calamari_ocr/ocr/voting/voter.py
imports: from copy import deepcopy
  from abc import ABC, abstractmethod
  from typing import Optional
  from tfaip.data.pipeline.definitions import Sample
  from calamari_ocr.ocr.dataset.textprocessors import TextProcessor
  from calamari_ocr.ocr.model.ctcdecoder.ctc_decoder import Prediction
label_desc: Use image node_id 2 for calling the Voter obj's underlying member method code with example usage: obj.vote_prediction_result(prediction_results) and returns: deepcopy, self