Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
zesje
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Works on my machine
zesje
Commits
eacebbcc
Commit
eacebbcc
authored
5 years ago
by
Ruben Young On
Browse files
Options
Downloads
Patches
Plain Diff
Added more comments on how to pregrade
parent
995e9038
No related branches found
No related tags found
1 merge request
!17
Add pregrading
Pipeline
#17671
passed with warnings
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zesje/pregrader.py
+20
-4
20 additions, 4 deletions
zesje/pregrader.py
with
20 additions
and
4 deletions
zesje/pregrader.py
+
20
−
4
View file @
eacebbcc
...
@@ -4,8 +4,24 @@ from zesje.images import guess_dpi
...
@@ -4,8 +4,24 @@ from zesje.images import guess_dpi
import
zesje.database
import
zesje.database
# 1 - get image
# 1 - get image
# 2 - get database coordinates of all mc_options
# 2 - get database coordinates of all mc_options
in exam
# 3 - resolution / dpi
# 3 - resolution / dpi
to convert points to inches to pixels
# 4 - get corner marker keypoints
# 4 - get corner marker keypoints
per page
# 5 - determine blank pdf corner markers vs submission corner markers
# 5 -
optional?
determine blank pdf corner markers vs submission corner markers
# 6 - transform submission image
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment