Rewrote autoLock with cv2
Rewrote faceRecognition with cv2. Seems to require more CPU