eLearning-BS23 / moodle-quizaccess_proctoring

MIT License
22 stars 28 forks source link

image facematched return false when comparing using image captured by proctoring #41

Closed hafriz closed 3 years ago

hafriz commented 3 years ago

hi @AhnafMuttaki

i have try BS method to face analysis, i have try to use analyze function in protoring modules, and also use postman to see return data. it seems when i use the image captured from proctoring. it failed to analyze the image. i have try to send image1 and image2 using the same image still facematched return false.

if i'm using other image captured using handphone / ordinary camera it's working @

_Originally posted by @hafriz in https://github.com/eLearning-BS23/moodle-quizaccess_proctoring/issues/39#issuecomment-909891458_

hafriz commented 3 years ago

after further test, it seems there is a problem when using curl PHP to post the image to the face match server. i have tried on multiple servers and it's giving a problem.

what's work for me is i change the method from using curl to using pear http_request2 method and i'm also using my own image library to compare with webcam snapshot not using the image from user profile upload. i also change the image size for the webcam snapshot to a bigger size.

AhnafMuttaki commented 3 years ago

Did you set your profile picture first ? you need to set your profile picture to be able to compare your camshot. We did not find any issue with BS face match. please see the below screenshot where facematch was successful.

image

Please check if following things are set up correctly before trying facematch.

  1. Your profile picture is set

  2. Facematch is enabled in proctoring settings. See the below screenshot. image

  3. BS URL and token is setup correctly in settings image

As we did not find any issue we are closing this issue.