1. Convert the answer sheet into usable page images
Most institutional answer sheets arrive as PDFs created by scanners or phone cameras. The system first converts each PDF page into an image while preserving page order and resolution. At this stage it should detect missing pages, blank pages and rotation.
Good inputs matter. A blurred, heavily compressed or shadowed page cannot be repaired perfectly by an AI model. Institutions should define a scanning checklist and test it with real student booklets.
2. Prepare the page for OCR
Image preparation can correct orientation, improve contrast, reduce background noise and identify the main writing region. It should be conservative: aggressive cleanup may erase decimal points, minus signs or faint handwriting.
Page structure is also important. Headers, roll numbers, printed questions, margins and handwritten answers may need to be separated so that OCR does not mix administrative text with student content.
3. Extract text with OCR
OCR converts handwriting into text and may provide location and confidence information for words or lines. Confidence is useful for routing review, but it is not proof that an academic answer is correct.
When a region is uncertain, the system can crop that area, apply targeted processing and run OCR again. A reviewer should be able to compare the final extraction with the original image.
4. Map responses to questions
Before scoring, the system must decide where one answer ends and another begins. Clear question numbering helps, but real papers contain continued answers, arrows, overwritten numbers and answers written out of order.
Question mapping errors can be more damaging than individual OCR spelling errors because the right content may be evaluated against the wrong question. This stage needs explicit validation and visible exceptions.
5. Compare with model answers and rubrics
The evaluation layer receives the verified response, question, maximum marks, model answer and marking rubric. It can identify relevant concepts and produce a criterion-level suggestion instead of relying only on keyword overlap.
A strong rubric describes what earns marks, acceptable alternative reasoning, partial-credit rules and common mistakes. Vague criteria lead to vague outputs.
6. Human review and finalization
Faculty should review low-confidence cases and, for high-stakes work, every proposed score. The interface should show the original page, extracted text, applied criteria, suggested score and feedback together.
After approval, question-wise marks can be totaled and exported. The final record should indicate who reviewed the result and preserve corrections for audit and system improvement.
What responsible automation looks like
The goal is not to hide uncertainty. A responsible system makes uncertainty visible, gives teachers control and supports pilot validation. Accuracy should be reported separately for OCR, question mapping and grading agreement.
EvalAI follows this assistant model: automate repetitive processing, present reviewable evidence and keep the authorized educator responsible for the final academic decision.