← The shelf
PDF image locator
Did its thingFind where an image lives inside a textbook PDF — by matching pixel matrices directly, because OCR kept getting it wrong.
✳ How it actually works
FIG 1 · the hunt, animated — a pixel window marches the page till the matrices agree
FIG 2 · the machinery — two pixel matrices walk into a matcher
The story
McHacks 9, 36 hours, team MAAG: Matthew Cabral, Abhijeet Praveen, and Gianluca Piccirillo. The problem — existing tools for finding an image inside a textbook lean on OCR and miss constantly.
The fix was to skip character recognition entirely: represent both the query image and the PDF pages as matrices of pixels and match them directly, with custom algorithms to keep runtime far below the naïve scan-everything approach. Accurate enough and fast enough to win Teacher’s Pet, the best-educational-hack award.