Back to projects

AI application2026Pipeline and test development

AI-Powered Question Solving & Evaluation Platform

A FastAPI and Streamlit platform that compares OCR, multimodal vision, hybrid, and adaptive routes for image-based questions in one test framework.

  • OCR, Vision, Hybrid, and Adaptive paths
  • 140 Pytest tests (repository report)
  • Adaptive: 31/34 on the expanded synthetic set
OCRVisionAdaptive routeEvaluation
OCR and Vision paths merge at adaptive routing and evaluation. Image question → Route selection → Solution → Evaluation.
Role

Pipeline and test development

Context

AI application · 2026

Core stack

Python · FastAPI · OpenCV · Tesseract

Scale

OCR · vision · hybrid pipeline comparison

Overview

Instead of forcing image questions through one method, the platform selects among OCR, multimodal vision, and hybrid processing and presents results in a comparable evaluation flow.

Problem and goal

Text-heavy, formula-based, and visually contextual questions need different preprocessing. One pipeline does not behave equally well for every question type.

My role

  • Unified OCR, vision, and hybrid routes behind one service contract.
  • Developed image preprocessing and adaptive selection logic.
  • Split pipeline behavior into testable units with Pytest.

Solution

  • Input quality and question structure informed pipeline selection.
  • OpenCV/Tesseract handled extraction while a multimodal LLM supported visually contextual questions.
  • A Streamlit interface made method results easier to review.

Architecture

The system’s main components and data/decision flow are separated as follows.

System overview
01Image questionQuality and structure analysis
02Route selectionOCR · vision · hybrid
03SolutionText/visual context processing
04EvaluationComparable results

Tech stack

OpenCV · Tesseract

Image preparation and OCR

Multimodal LLM

Visually contextual question processing

FastAPI · Streamlit

Service and review interface

Pytest

Pipeline behavior checks

Implementation decisions

  • Use a shared result contract for OCR, Vision, and Hybrid outputs.
  • Base adaptive routing on OCR signals and visual question properties.

Results and evaluation

  • Compared OCR, Vision, Hybrid, and Adaptive pipelines in one evaluation framework.
  • The repository reports 140 passing Pytest tests; Adaptive scored 31/34 on the expanded synthetic set and 11/12 on the realistic synthetic set, while Hybrid scored 10/12.

Challenges and solutions

  • Variable image quality → preprocessing plus alternative pipelines.
  • Different output shapes → a shared response and evaluation contract.

What I learned

The work showed the importance of input analysis before model calls and of testable pipeline boundaries in adaptive AI applications.

Next projectIFS Aurora: Weather Management App