Example #1
0
	def addNewFace(self, location):
		fc = Face(self.weights)
		fc.setID(self.faceIDCount)
		self.totalFaceCount += 1
		self.faceIDCount += 1
		fc.setPosition(location)
		self.visibleFaceList.append(fc)
Example #2
0
 def addNewFace(self, location):
     """create new face object for a newly detected face"""
     fc = Face(self.weights)
     fc.setID(self.faceIDCount)
     self.totalFaceCount += 1
     self.faceIDCount += 1
     fc.setPosition(location)
     self.visibleFaceList.append(fc)