AndreWicked
AndreWicked
It is not necessary to store encodings in the database, you can store them in a file, using a pickle module or json module.
Mini example if you interested: ``` import cv2 import face_recognition as fr import pickle import time encodingsBox = [] namesBox = [] cap = cv2.VideoCapture(0) name = input("Please, input your...
Yes, they will be rewritten, to avoid this, you must first to load them, a small example: ``` data = pickle.loads(open("encodings.pickle", "rb").read()) encodingsBox = data["encodings"] namesBox = data["names"] ```
Maybe you have some problems with the path to the models, open api.py the folder where the face_recognition module is installed, and check the first lines. ``` face_detector = dlib.get_frontal_face_detector()...