forked from tsauvine/omr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
57 lines (36 loc) · 2.67 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Installing #
Copy omr.properties.base to omr.properties and set the mail settings.
Download PDFRenderer.jar, mail.jar and activation.jar into the lib folder.
https://pdf-renderer.dev.java.net/demos/latest/PDFRenderer.jar
http://java.sun.com/products/javamail/downloads/index.html
http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html
# Compiling #
ant build (this builds the omr.jar)
# Running #
java -jar omr.jar
# Using #
- Scan the answer sheets. Resolution does not need to be high, 150 dpi is good.
- Import scanned answer sheets (File | Import sheets...)
- Set reference sheet in the "Structure properties" in the right. The reference sheet should preferably be an empty sheet.
- Add question groups and registration markers on the sheet.
- Switch to the Calibrate tab. Sheets are analyzed, which may take a while.
- In the right you can choose manual global thresholding or automatic per-sheet thresholding. Thresholds can be adjusted in the histogram view by dragging the borders of the areas.
- Sheets that need manual inspection, are marked in the sheet list with "!". The uncertain bubbles are marked with a red double rectangle and a "?" in the sheet view. The bubble can be manually overridden by clicking it. Click again to toggle between filled, unfilled and auto.
- After thresholds have been set and problematic bubbles overridden, switch to Results tab to see the score. Export the score and answers in the File menu. Project saving is experimental, so it is a good idea to export everything before quitting.
- Results and the sheet images can be emailed to students (File | Send feedback emails). This feature is experimental and not recommended for production use. The email addresses are formed by adding the prefix and suffix defined in omr.properties file to the student id.
# Features #
Supported file formats:
- tiff, gif, jpeg, png
- pdf (some compressed image formats are not supported)
# Known issues #
Grading scheme is hard coded: correct answer +1, incorrect answer or multiple selected -0.5, otherwise 0.
Check letter is hard coded (Helsinki University of Technology style)
PDF support is experimental. It is safer to convert PDFs to JPEG or PNG first:
gs -sDEVICE=jpeg -r150x150 -o output%03d.jpg myAnswers.pdf
gs -sDEVICE=pnggray -r150x150 -o output%03d.png myAnswers.pdf
The JBIG2 compression algorithm is not supported by the PDF-renderer library. Unfortunately, some Xerox scanners use it for black-and-white images.
Emailing does not work if SMTP server requires authentication.
Some properties are not saved in the project file:
- manually set thresholds
- manually overridden bubbles
Only two registration markers are accepted.