python webCamDemo.py --name "Vamshi N" --phone true --verbose
Loading.....
WARNING:tensorflow:No training configuration found in the save file, so the model was not compiled. Compile it manually.
34
Completed
Faces Found in Faces Directory
Vamshi N
Press (q) To abort
1/1 [==============================] - 2s 2s/step
Processing Frame number: 1
Number of frames where phone was detected: 0
Number of Frames where Student was missing: 1
Traceback (most recent call last):
File "C:\Users\ramad\Downloads\Student-Online-Exam-AntiCheat-Tool-master\webCamDemo.py", line 69, in
img,absentFramesTotal = aUtils.faceRecInference(faceEncodingsKnown,faceNames,img,absentFramesTotal,nameToCheck)
File "C:\Users\ramad\Downloads\Student-Online-Exam-AntiCheat-Tool-master\antiCheatUtils.py", line 285, in faceRecInference
faceEncsCurr = faceRec.face_encodings(frameS, faceLocsCurr)
File "C:\Users\ramad\AppData\Local\Programs\Python\Python39\lib\site-packages\face_recognition\api.py", line 214, in face_encodings
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
File "C:\Users\ramad\AppData\Local\Programs\Python\Python39\lib\site-packages\face_recognition\api.py", line 214, in
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
TypeError: compute_face_descriptor(): incompatible function arguments. The following argument types are supported:
python webCamDemo.py --name "Vamshi N" --phone true --verbose Loading..... WARNING:tensorflow:No training configuration found in the save file, so the model was not compiled. Compile it manually. 34 Completed Faces Found in Faces Directory Vamshi N Press (q) To abort 1/1 [==============================] - 2s 2s/step Processing Frame number: 1 Number of frames where phone was detected: 0 Number of Frames where Student was missing: 1
Traceback (most recent call last): File "C:\Users\ramad\Downloads\Student-Online-Exam-AntiCheat-Tool-master\webCamDemo.py", line 69, in
img,absentFramesTotal = aUtils.faceRecInference(faceEncodingsKnown,faceNames,img,absentFramesTotal,nameToCheck)
File "C:\Users\ramad\Downloads\Student-Online-Exam-AntiCheat-Tool-master\antiCheatUtils.py", line 285, in faceRecInference
faceEncsCurr = faceRec.face_encodings(frameS, faceLocsCurr)
File "C:\Users\ramad\AppData\Local\Programs\Python\Python39\lib\site-packages\face_recognition\api.py", line 214, in face_encodings
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
File "C:\Users\ramad\AppData\Local\Programs\Python\Python39\lib\site-packages\face_recognition\api.py", line 214, in
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
TypeError: compute_face_descriptor(): incompatible function arguments. The following argument types are supported:
Invoked with: <_dlib_pybind11.face_recognition_model_v1 object at 0x000001CDB9E05AF0>, array([[[255, 255, 255], [255, 255, 255], [255, 255, 255], ..., [241, 241, 241], [243, 243, 243], [243, 243, 244]],
PS C:\Users\ramad\Downloads\Student-Online-Exam-AntiCheat-Tool-master>