eLearning-BS23 / moodle-quizaccess_proctoring

MIT License
21 stars 26 forks source link

Browser performance problems with new versión. #76

Open unesco-iesalc opened 1 year ago

unesco-iesalc commented 1 year ago

I just check the new version, and implements a new feature that detect if there is a face in the camera. This is a great feature. I checked this feature, with a quiz, configured with one question per page,and when loading the page with a new question, the browser freezes many seconds. I check the code, and it seem uses, face-api.js for face detection. I think it's loading and configuring the face detection model in each page. I think the problem are using ssdMobilenetv1, that its a very heavy model. I just checking change the detector to tinyFaceDetector, that it's a simpler model and the performance it's much better. If you wish i can send yo a patch with this change, but it's a very simple change.

Thanks in advance.

solanye commented 9 months ago

Hi, I'm having the same problem, and I have no idea what to do, how do you change the detector or would you send me the patch?. Thank you in advance.

AhnafMuttaki commented 9 months ago

We have used the model because of the accuracy. We will shortly give an update to this plugin with a fix. Thanks for the feedback.