Example #1
0
	def load_known(self):
		""" Loads known data. """

		self.faces_database = FacesDatabase(self.Helpers.confs["genisysai"]["data"], self.face_identifier,
											self.landmarks_detector, self.face_detector, True)
		self.face_identifier.set_faces_database(self.faces_database)
		self.Helpers.logger.info("Database is built, registered %s identities" %
					(len(self.faces_database)))
Example #2
0
	def load_known(self):
		""" Loads known data. """

		self.faces_database = FacesDatabase(os.path.dirname(os.path.abspath(__file__)) + '/../' + self.Helpers.confs["Classifier"]["Known"], self.face_identifier,
											self.landmarks_detector, self.face_detector, True)
		self.face_identifier.set_faces_database(self.faces_database)
		self.Helpers.logger.info("Database is built, registered %s identities" %
					(len(self.faces_database)))