How albinvsoju/smart-grade-omr works
SmartGrade is a browser-based OMR grading tool: a user supplies a marked answer-sheet image and answer key, the Flask endpoint validates and parses the request, and the OMR processor detects marks, compares answers, and returns a score plus an annotated image. The sampled backend confirms the processing and result-writing steps. The HTML file is present in the tree but was not sampled, so its interaction with the endpoint is not verified; the route’s requested filename also differs in case from the listed file.
Main entry points: app.py Upload and grade API · SmartGrade OMR.html Grading page · omr.py Image decoding · static Annotated result image
Components 7
User interface
- Grading page
SmartGrade OMR.html
Grading service
- Upload and grade API
app.py
OMR processing
- Image decoding
omr.py - Bubble detection
omr.py - Answer grading
omr.py - Annotated result image
static
Other components
- User
Connections 7
- User → Grading page: uses
- Grading page → Upload and grade API: submits sheet
- Upload and grade API → Image decoding: calls processor
app.py - Image decoding → Bubble detection: prepares image
omr.py - Bubble detection → Answer grading: provides marks
omr.py - Answer grading → Annotated result image: writes image
omr.py - Upload and grade API → Grading page: serves page
app.py