Quiz access rules: Moodle Proctoring

quizaccess_proctoring
Maintained by Brain Station 23 LogoBrain Station 23
Moodle proctoring is a quizaccess plugin to capture the user's picture via webcam to identify who is attempting the Moodle Quiz. It will capture the picture automatically every 30 seconds and store it as a PNG image.
131 sites
363 downloads
12 fans
Current versions available: 1

Moodle Proctoring

Moodle proctoring is a quizaccess plugin to capture the user's picture via webcam to identify who is attempting the Moodle Quiz. It will capture the picture automatically every 30 seconds and store it as a PNG image.

This plugin will help you to capture random pictures via webcam when the student/user is attempting the Quiz. Before starting the quiz, it will ask for camera permission. By accepting the permission you will be able to see your picture and you can continue to answer the questions. It will act as a video recording service like everything is capturing so the user will don't try to do anything suspicious during the exam.


Features

  • Capture user/student images via web camera
  • Can't access quiz if the user does not allow the camera
  • Admin report and check any suspicious activity
  • Will work with existing Question Bank and Quiz
  • Webservice API for external call
  • Images are stored in Moodledata as a small png image

Configuration

You can install this plugin from Moodle plugins directory or can download from Github.

After installing the plugin, you can use the plugin by following:

  • Go to your quiz setting (Edit Quiz):
  • Change the Extra restrictions on attempts to must be acknowledged before starting an attempt
  • Done!
  Dashboard->My courses->Your Course Name->Lesson->Quiz Name->Edit settings

Webservice/API

  • To get the API to allow the permission: quizaccess/proctoring:getcamshots

  • Service URL like

        {YourServer}/webservice/rest/server.php?
        wstoken={XYZ}&
        wsfunction=quizaccess_proctoring_get_camshots&
        moodlewsrestformat=json&
        quizid={1}&
        userid={1}&
        courseid={1}


Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Brain Station 23 Logo
Brain Station 23 (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Ahmed Al-Jobouri
    Sun, Oct 25, 2020, 3:02 PM
    Hi, great plugin
    Can you help me or explain more about the (API) ?
    I did not understand exactly how the settings API

    To get the API to allow the permission: quizaccess/proctoring:getcamshots
    Service URL like
    {YourServer}/webservice/rest/server.php?
    wstoken={XYZ}&
    wsfunction=quizaccess_proctoring_get_camshots&
    moodlewsrestformat=json&
    quizid={1}&
    userid={1}&
    courseid={1}
  • Brain Station 23 Logo
    Sun, Oct 25, 2020, 7:08 PM
    Hi @Rene KR. Thanks for your great question.
    When you go to the Quiz page as a course administrator, you can click "View Proctoring Report" and see all the images.
  • Brain Station 23 Logo
    Tue, Oct 27, 2020, 4:07 PM
    Hi @Rene KR, To store the image file we are using moodle File API (https://docs.moodle.org/dev/File_API) which stores all the files in "moodledata/filedir" in a hash format. To get the Proctoring report go to your Quiz page as a course administrator, you can click "View Proctoring Report" and see all the images.

    Hello @Hakan Gür, at this moment there is no option to delete the image from UI. But we have a plan to add this feature in our next release.

    Hi @Ahmed Al-Jobouri, If you want to integrate the quiz report with other external systems, then you can expose this API which is totally optional. The example of webservice URL is given here, where "wstoken" is your webservice token, "quizid" is the id of desired quiz/context id, "userid" is the desired user id, "courseid" for which course you want the report.
  • Picture of Sahed Moral
    Tue, Oct 27, 2020, 5:55 PM
    Hi @Ahmed Al-Jobouri,

    You can check how to configure web service from here. {moodle_base_url}/admin/settings.php?section=webservicesoverview

    You may call the following API to get `wstoken`.
    {moodle_base_url}/login/token.php?service=proctoring&username={username}&password={password}

    By default student/authenticated user is not allowed to call this API. So you have to allow the 'quizaccess/proctoring:getcamshots' Capability to call the API.

    For example, if you want to give 'quizaccess/proctoring:getcamshots' Capability to student role then you can modify the role form here
    {moodle_base_url}/admin/roles/manage.php
  • Picture of Said Gadjibejli
    Tue, Nov 3, 2020, 2:28 AM
    Hi, great plugin
    Is it possible to add a screenshot of the screen
  • Brain Station 23 Logo
    Wed, Nov 4, 2020, 5:45 PM
    @Said Gadjibejli, thanks for your comment. At this moment, taking screenshots feature is not available. But you can add a feature request in our repo at https://github.com/eLearning-BS23/moodle-quizaccess_proctoring. We will consider it for the next release.
  • Picture of N W
    Sat, Nov 7, 2020, 2:28 PM
    Please could you tell me the name of the directory in Moodledata where the images are stored?
  • Picture of Eka Christianto
    Wed, Nov 11, 2020, 7:09 PM
    Please could you tell me the name of the directory in Moodledata where the images are stored? (+1)
  • Picture of Scott Krajewski
    Thu, Nov 12, 2020, 3:41 AM
    They are likely stored in the filedir in the data directory however they are obscured there due to how moodle stores files. That's likely why they created an API to retrieve them. Otherwise you could build something with the moodle file API yourself to get them.
  • Picture of michael haddad
    Mon, Nov 16, 2020, 10:56 PM
    Hi Looks like a great plugin in these covid times. Thank you.
    Are the images uploaded as the they are captured?
    Can an admin see the images whilst the exam is being written?
    Thanks again
  • Picture of Sahed Moral
    Tue, Nov 17, 2020, 6:53 PM
    Hi @michael haddad
    Admin and course administrator can see proctoring report at anytime even when exam is being written.
  • Picture of Marcelo Silva
    Thu, Nov 19, 2020, 7:13 AM
    Hello guys can help me?
    I installed the plugin however when I went to test and mark the option to enable the camera the button to access the exam does not enable
  • That's me
    Fri, Nov 27, 2020, 6:28 PM
    Are there any comments as to WHERE to put the plugin? Could please someone help.
  • Brain Station 23 Logo
    Tue, Dec 1, 2020, 6:28 PM
    #MarceloSilva can you please check is there any http/https issue or write a bit more?
  • Brain Station 23 Logo
    Tue, Dec 1, 2020, 6:31 PM
    #AlexNaumov Plugin path: /mod/quiz/accessrule/proctoring
1 2
Please login to post comments