Closed imkrishnavenkat closed 6 years ago
open cv recognizers only accept integers as id. but you can create a sql database table to map the names and there corresponding ids, that way you can get the names from the ids
virupaksha@virupaksha-Vbox:~/Face-Recognition$ python trainer.py
Traceback (most recent call last):
File "trainer.py", line 5, in
^ that can be solved by recognizer = cv2.face.LBPHFaceRecognizer_create()
Can we change labels from integer to string type