From 603d8d4b2227a604f5d998772c3ee48f0386e01f Mon Sep 17 00:00:00 2001 From: udayraj Date: Fri, 15 May 2020 19:46:39 +0530 Subject: [PATCH] add QTYPE_INT4 --- .gitignore | 6 ++++-- config.py | 2 +- template.py | 4 ++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2778cf2c..2ae063b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ **/__pycache__ **/CheckedOMRs -**/ignore **/.DS_Store +**/.vscode + +**/ignore OMRChecker.wiki/ # Everything in inputs/ and outputs/ inputs/* @@ -9,4 +11,4 @@ outputs/* # Except *.json and OMR_Files/ # !inputs/OMR_Files/ # !inputs/*.json -# !inputs/omr_marker.jpg \ No newline at end of file +# !inputs/omr_marker.jpg diff --git a/config.py b/config.py index 18bcd33f..99eecce9 100644 --- a/config.py +++ b/config.py @@ -9,7 +9,7 @@ """ Constants """ -display_height = int(480) +display_height = int(640) display_width = int(640) windowWidth = 1280 windowHeight = 720 diff --git a/template.py b/template.py index ddf5702f..0f46343a 100644 --- a/template.py +++ b/template.py @@ -57,6 +57,10 @@ def __init__(self, dims, key, orig, traverse_pts): 'vals': range(10), 'orient': 'V' }, + 'QTYPE_INT4': { + 'vals': [1,2,3,0], + 'orient': 'V' + }, 'QTYPE_MCQ4': { 'vals': ['A', 'B', 'C', 'D'], 'orient': 'H'