OMR Sheet Comparison API (Python or PHP)

Job ID: 39928181

Budget: $10 – $30 USD

I need a simple script or API that compares two OMR sheet images — one correct answer sheet and one student-submitted sheet.
The API should detect filled bubbles, align sheets, and return a JSON response showing each question’s result (student answer, correct answer, match status, and overall score).

Requirements:

Input: Two image files (correct & student) via POST API.

Output: JSON with per-question comparison and total accuracy.

Should handle minor tilt or noise in images.

Clean, well-commented code with setup instructions.

Preferred Tech: Python (FastAPI/Flask + OpenCV) or PHP.