AI-based evaluation of handwritten answer scripts, in Bangla and English
AI-এর মাধ্যমে শিক্ষার্থীদের হাতে লেখা উত্তরপত্র স্বয়ংক্রিয়ভাবে মূল্যায়ন
Teachers spend hours marking piles of handwritten answer scripts by hand. Marks can differ from one examiner to the next, and students usually get back a number without learning where they lost marks.
Rubrix reads each script, marks it against the teacher's own questions, model answers and marking rubric, and explains every mark it gives. The teacher reviews the result and has the final say on every grade.
- Time and effort. Teachers mark large numbers of handwritten scripts after every exam, almost entirely by hand.
- Inconsistent marks. The same answer can get different marks from different examiners, or from the same examiner on a different day.
- Little feedback. Students see a score, but rarely learn what went wrong or how to write a better answer.
Rubrix follows the questions, model answers and marking guidelines the teacher provides. It reads the student's handwriting, awards marks against each point of the rubric, and explains why marks were lost. Nothing reaches students until the teacher approves it.
- Teachers at schools, colleges and coaching centres, who set the rubric and review the marks.
- Students, who get their marks with clear feedback and can follow their own progress.
| Feature | What it does |
|---|---|
| Exam & rubric creation | Teachers enter the questions, a model answer for each, and how the marks are split. |
| Answer script upload | Scripts are uploaded as photos from a phone camera or as PDF scans. |
| Image preprocessing | OpenCV cleans each page, straightens skewed photos and removes shadows. |
| Handwriting OCR | Recognises Bangla and English handwriting and converts it to text. |
| AI-based evaluation | Scores every answer against the teacher's rubric. |
| Personalised feedback | Shows where an answer went wrong and how to improve it. |
| Teacher review | Teachers approve or correct any mark the AI suggests. |
| Performance analytics | Each student's weak topics, class averages and progress over time. |
flowchart LR
U["Script upload<br/>(phone camera or PDF)"] --> P["Image preprocessing<br/>(OpenCV)"]
P --> O["Handwriting OCR<br/>(Bangla + English)"]
O --> E["Rubric-based<br/>AI evaluation"]
T["Teacher sets questions,<br/>model answers and rubric"] --> E
E --> F["Marks and personalised<br/>feedback"]
F --> R{"Teacher review:<br/>approve or edit"}
R --> S["Results for students"]
R --> A["Performance analytics"]
- Set up the exam. The teacher adds the questions, a model answer for each one, and the mark distribution.
- Upload scripts. Answer scripts come in as phone photos or scanned PDFs.
- Clean the images. OpenCV straightens skewed pages, removes shadows and improves contrast so the writing is easier to read.
- Read the handwriting. A TrOCR-based OCR model turns Bangla and English handwriting into text.
- Mark the answers. Multilingual embeddings (LaBSE / multilingual-e5) measure how close each answer is to the model answer, and an LLM checks it against every rubric point and drafts the feedback.
- Teacher review. The teacher sees the original handwriting next to the suggested marks and reasons, then approves or changes them.
- Results and analytics. Students receive their marks with feedback. Teachers see class averages, weak topics and progress across exams.
| Layer | Technology |
|---|---|
| Frontend | Next.js, Tailwind CSS |
| Backend | FastAPI (Python) |
| Database | PostgreSQL |
| AI / ML | PyTorch, OpenCV, TrOCR, LLM |
| Text analysis | LaBSE / multilingual-e5 |
| File storage | Cloudinary / Amazon S3 |
| Deployment | Docker |
- Bangla handwriting recognition, not only English.
- Rubric-based marking that follows the teacher's own marking scheme.
- Detailed feedback alongside every mark, not just a number.
- Teacher in the loop: the AI suggests, the teacher decides.
- Weak-topic and progress analytics for every student.
- Built for a real problem in Bangladesh's education system.
- Less time spent marking answer scripts.
- More consistent marks across scripts and examiners.
- Students understand exactly where and why they lost marks.
- Better learning quality and steady progress for students.
Rubrix supports SDG 4: Quality Education, targets 4.1 and 4.c.
| Target | What it calls for | How Rubrix contributes |
|---|---|---|
| 4.1 | Free, equitable and quality primary and secondary education that leads to relevant and effective learning outcomes | Detailed feedback on every answer and weak-topic tracking help students learn from their mistakes and improve their results. |
| 4.c | A substantially larger supply of qualified teachers, including through teacher training | Less time on marking frees teachers to teach and support more students. Rubric-based marking and class analytics help them grade consistently and see where their class needs help. |
How we will measure impact
- Average time needed to mark one script, with and without Rubrix.
- Agreement between AI-suggested marks and the marks teachers finally approve.
- Share of students who receive written feedback on every answer.
- Change in students' scores on their weakest topics across successive exams.
Rubrix is being built for Aethermind 2026: The National Innovation Challenge, organised by BRAC University Computer Club, in the Education (Edtech) category.
| Date (2026) | Milestone |
|---|---|
| 5 December | Round 1 submission: documentation and static frontend mockup |
| 11 – 20 December | Build phase: backend, database, OCR and AI evaluation |
| 21 December | Demo Day at BRAC University |
Note
In line with the competition rules, this repository contains only documentation and the static frontend mockup until 11 December 2026, 12:00 PM. All backend, database and AI code is written and committed during the build phase.
As the competition rules require, every AI tool, outside API and open-source tool used in this project is listed here. The list is updated as the project grows.
| Tool | Type | Used for |
|---|---|---|
| TrOCR | Open-source OCR model (Microsoft) | Handwriting recognition |
| OpenCV | Open-source library | Image preprocessing |
| PyTorch | Open-source deep learning framework | Building and running the AI models |
| LaBSE / multilingual-e5 | Open-source multilingual embedding models | Comparing student answers with model answers |
| LLM (provider to be confirmed) | AI model / API | Rubric checking and feedback |
| Cloudinary / Amazon S3 | Cloud storage service | Storing uploaded answer scripts |
| Next.js, Tailwind CSS, FastAPI, PostgreSQL, Docker | Open-source frameworks and tools | Web app, API, database and deployment |
AI assistants used to help write code or create data will also be listed here.
Released under the MIT License.