Add width_r : local image width in a group
Check consistency of boxes wrt width_r
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ def make_dictionary(root_dir):
|
||||
try:
|
||||
with open(jf, 'r', encoding='utf-8') as f:
|
||||
coord_list = json.load(f)
|
||||
# Format: [["id", x, y], ...]
|
||||
# Format: [["id", x, y, width_r, "label"], ...]
|
||||
for entry in coord_list:
|
||||
if entry[0] == student_id:
|
||||
coordinates = (entry[1], entry[2])
|
||||
|
||||
Reference in New Issue
Block a user