def load_keyboard_consensus(self, speaker_id): result = [] data_root = os.path.join(os.path.dirname(__file__), "../analysis/data/") batch = Batch() batch.load(data_root) batch._getDataOfVideo(speaker_id, result) return result