Skip to content

Automated evaluation of handwritten subjective answers using Python, NLP, and Google Vision API.

Notifications You must be signed in to change notification settings

vijay-atla/subjective-answer-evaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Subjective Answer Evaluation System

📌 Project Overview

This project implements an automated evaluation system for handwritten subjective answers, developed as part of academic coursework to streamline manual grading by comparing student answers with predefined key answers and generating an accuracy assessment.


💡 Problem Statement

Traditional subjective answer evaluation is manual, time-consuming, and prone to human bias. Teachers spend hours reading and comparing handwritten answers against the key. This system aims to digitize and automate the evaluation process, ensuring consistency and faster grading.


🎯 Solution

Key Features:

✔️ Handwritten Answer Recognition
Uses Google Cloud Vision API to extract text from scanned handwritten answer images.

✔️ Natural Language Processing Evaluation
Compares extracted text with key answers using NLP techniques to compute similarity scores.

✔️ Accuracy Assessment
Generates an accuracy percentage representing how closely the student's answer matches the expected key answer.


🔧 Tech Stack

  • Programming Language: Python
  • APIs & Libraries: Google Cloud Vision API, NLP libraries (nltk), pandas, numpy
  • Other Tools: Batch script for execution (run.bat)

🚀 Installation & Setup

  1. Clone this repository:
git clone https://github.com/vijay-atla/subjective-answer-evaluation.git
  1. Navigate to the project directory:
cd subjective-answer-evaluation/
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up Google Cloud Vision credentials:
  • Create a Google Cloud project.

  • Enable the Vision API.

  • Download credentials.json and set your environment variable:

export GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials.json"
  • For Windows PowerShell:
setx GOOGLE_APPLICATION_CREDENTIALS "path\to\credentials.json"
  1. Run the application:
python Subjective.py
  • Alternatively, you can run the batch execution file:
run.bat

📸 Screenshots

alt text

alt text

alt text

alt text

alt text

alt text

alt text


👤 Author

  • Vijay Atla

  • Year Developed: 2021

📝 License

  • This project was developed for educational purposes. Feel free to fork and customize for learning, research, and academic demonstrations.

About

Automated evaluation of handwritten subjective answers using Python, NLP, and Google Vision API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published