Skip to content
Snippets Groups Projects
Commit eacebbcc authored by Ruben Young On's avatar Ruben Young On
Browse files

Added more comments on how to pregrade

parent 995e9038
No related branches found
No related tags found
1 merge request!17Add pregrading
Pipeline #17671 passed with warnings
......@@ -4,8 +4,24 @@ from zesje.images import guess_dpi
import zesje.database
# 1 - get image
# 2 - get database coordinates of all mc_options
# 3 - resolution / dpi
# 4 - get corner marker keypoints
# 5 - determine blank pdf corner markers vs submission corner markers
# 2 - get database coordinates of all mc_options in exam
# 3 - resolution / dpi to convert points to inches to pixels
# 4 - get corner marker keypoints per page
# 5 - optional? determine blank pdf corner markers vs submission corner markers
# 6 - transform submission image
# 7 - determine checkbox locations
# 8 - get box location and check if it is filled
# 8.5 - check if feedback option exists
# 9 - connect to feedback option
# coupled feedback cannot be deleted
def pregrade(exam_id):
# Get exam pages
pass
def _locate_checkbox():
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment