text: import cv2
  from simple_facerec import SimpleFacerec
  
  faceR = SimpleFacerec()
  faceR.load_encoding_images("images/")
  capture = cv2.VideoCapture(2)
  while True:
      ret, frame = capture.read()
  
      faceLoc, faceNames = faceR.detect_known_faces(frame)
      for face_loc, name in zip(faceLoc, faceNames):
          y1, x2, y2, x1 = face_loc[0], face_loc[1], face_loc[2], face_loc[3]
  
          cv2.putText(frame, name,(x1, y1 - 10), cv2.FONT_HERSHEY_DUPLEX, 1, (0, 0, 200), 2)
          cv2.rectangle(frame, (x1, y1), (x2, y2), (0, 0, 200), 4)
      cv2.imshow("Frame", frame)
      key = cv2.waitKey(1)
      if key == 27:
          break
  
  capture.release()
  cv2.destroyAllWindows()