#NEWLINE# def addTraining( self , img , rect = None , eyes = None , sub_id = None ) : #NEWLINE# #INDENT# 'Adds a training face for the algorithm.' #NEWLINE# self . training_data . append ( [ img , rect , eyes , sub_id ] )