Esempio n. 1
0
 def delFinished(self, info_str):
     self.manager.writeCSV(self.data)
     self.manager.writeZhCSV(self.zhData)
     train.trainFace(self.model)
     dialog = QtGui.QMessageBox()
     dialog.setWindowTitle('info')
     dialog.setWindowModality(Qt.ApplicationModal)  #
     dialog.setFixedSize(300, 300)
     font = QtGui.QFont()
     font.setPointSize(15)
     dialog.setFont(font)
     dialog.setText(info_str)
     if dialog.exec_():
         pass
Esempio n. 2
0
 def run(self):
     train.trainFace(self.model)
     print 'train faces over'
     self.model.load(self.trainFileName)
     print 'model reload over'
Esempio n. 3
0
 def run(self):
     train.trainFace(self.model)
     print('人脸训练完毕')
     self.model.load(self.trainFileName)
     print('模型加载完毕')
Esempio n. 4
0
 def run(self):
     train.trainFace(self.model)
     print 'train faces over'
     self.model.load(self.trainFileName)
     print 'model reload over'