How does an app actually turn a photo of handwritten homework assignment into a structured task? (built this, sharing what worked)
How does an app actually turn a photo of handwritten homework assignment into a structured task? (built this, sharing what worked)

How does an app actually turn a photo of handwritten homework assignment into a structured task? (built this, sharing what worked)

I've been building an app that lets students snap a photo of an assignment, a whiteboard, a printed worksheet, whatever, and turns it into a structured task with subject, due date, and estimated effort. Want to admit that I went in underestimating how hard this would be from an actual parsing pipeline POV.

The pipeline is roughly: photo in → Claude's vision API reads the image → a prompt asks it to extract specific structured fields (title, subject, due date, estimated effort) → returned as JSON → rendered as an editable task card before saving. Being someone who is a self-learner in coding - took a considerably long time to grasp.

Here were the harder parts for me.

Data ambiguity was/is the real challenge. In my surprise, vision models are pretty good at reading messy handwriting at this point. The harder problem is "due Friday" written on a Tuesday could mean this Friday, or — if it's already Thursday — arguably next Friday.

Ended up having to pass the current date into the prompt explicitly and have it reason about the nearest occurrence, then always show the interpreted date on a confirmation screen so the user can catch it if it's wrong rather than silently trusting it.

Introducing a confidence in parsing: Even at high accuracy, silent errors are worse than the model saying "I'm not sure about this one." The model now returns a confidence field, and low-confidence parses get visually flagged for the user to double check rather than quietly saved.

Multiple assignments in one photo is a real pain, you know where: A whiteboard photo showing 3 different assignments needed different handling than a single worksheet — had to detect and split these rather than mashing them into one garbled task.

What's your experience with photo parsing and vision models?

submitted by /u/Hayk_D
[link] [comments]