Map Processing Platform

Internal tools, 2026

Operators upload phone photos of paper maps. A worker finds the sheet, fixes perspective and orientation, enhances it, reads the 16-digit area code and checks it against the master list.

  • Area codes read and validated automatically
  • Images go straight to storage
  • Workers scale on a queue

The problem

Thousands of paper field maps were photographed at odd angles and filed by hand. Finding the right map meant reading a small printed code on each photo.

What I built

  • The browser uploads directly to object storage with presigned URLs, so the API never proxies image bytes.
  • FastAPI queues each image on Redis; an OpenCV worker runs paper detection, perspective correction, orientation, enhancement, upscaling and OCR.
  • The recognised code is validated against the master list, and anything uncertain goes to a human review screen.
  • A second geo worker prepares georeferenced output, and the whole stack ships with Docker Compose.

Stack

  • Next.js
  • FastAPI
  • OpenCV
  • OCR
  • Redis
  • PostgreSQL
  • S3 (Garage)

More work

Gerbang Dinas

CAT-style tryouts for CPNS, service schools and TKA

A mobile-first tryout platform that copies the real exam screen: server-controlled timer, flag-for-review, autosave, and scores per subtest against the passing grade.

  • Astro
  • SvelteKit
  • Supabase
  • PostgreSQL

Case study Open gerbangdinas.com