Automated PPE & Inventory Management System

Solo project — QR tracking for Shell Eco-marathon paddock ops — customs-ready Excel export, under 80 ms QR reading, web dashboard with loan management

Deployed at Shell Eco-marathon Brazil 2026: a QR-tracked inventory system that simplified customs declaration for dozens of tools and components and let the team close out its paddock loan list in minutes. Every item gets a physical QR label linked to a database record — reads run in under 80 ms and the system exports a customs-ready Excel file in one click.

Inventory dashboard: totals, status overview, items that need attention and the Excel export flow.

Design at a glance

Stage 1: Excel register (data model prototype)
Stage 1: Excel register (data model prototype)
Stage 2: OpenCV QR detection and ID check
Stage 2: OpenCV QR detection and ID check
Latency benchmark of the pilot
Latency benchmark of the pilot
Stage 3: web platform, item quick view
Stage 3: web platform, item quick view

Design decisions, from first principles

Decision Engineering reasoning Result
Excel register before any code Validate which fields the team really needs before building software Became the database model and the one-click customs Excel export
Five image variants, first successful read wins Low contrast, blur and small codes break QR detection: CLAHE raises local contrast, sharpening restores edges, 2× upscaling enlarges small modules; stopping at the first hit keeps latency low Reads in under 80 ms per image
Separate “readable” from “valid” A QR can decode perfectly and still carry the wrong text, so the payload is checked against the ID format Green outline for valid IDs, red for malformed ones
Capture separated from processing Testing the algorithm on saved photos isolates camera problems and makes runs repeatable Benchmark with hit rate, mean and p95 latency, logged to JSONL
Full technical write-up

Challenge

Traveling from Mexico to an international competition means clearing customs with dozens of tools, PPE and electronic components — a process that had cost the team time and stress in previous editions — and then keeping track of them in a busy paddock. I proposed a QR-based inventory with four goals: one physical label per item, one database record behind it, loans to other teams under control, and every toolbox locatable at a glance. It was built in three stages and became part of the team’s Safety Leadership Award submission.

My contribution

  • Concept and data model: proposed the system and defined what each inventory record contains
  • Stage 1 — Excel register: the first inventory, with a photo, a Drive link and a “sticker applied” check for every item
  • Stage 2 — Python pilot: the OpenCV pipeline that loads a photo, preprocesses it, decodes the QR, validates the ID, benchmarks the latency and keeps a JSONL backup
  • QR generation: a Python script that generates the labels
  • With the team: the TypeScript web platform that replaced the pilot, with the database built in

Stage 1 — Excel register

Before any software existed, the register listed the QR ID, item code, description, quantity, type, area, the box it belongs to, a photo link and whether the sticker was applied. It became the prototype of the database.

Excel inventory register with photos and QR IDs
Initial Excel register: one row per item, with its box, photo link and sticker status.

Stage 2 — Python / OpenCV pilot

The pilot works on photos captured separately (phone camera via DroidCam), so camera problems and algorithm problems stay apart. Each photo is tried in five variants — original, grayscale, CLAHE, sharpened and 2× upscaled — and the first one that decodes wins, which keeps latency low. The decoded text is then checked against the ID format, because a QR can be readable and still carry the wrong content; the image is annotated green or red with the variant used and the processing time, and every run is logged to JSONL with hit rate, mean and p95 latency.

OpenCV QR detection with annotated outline
Test with a QR that is not a tool label: it decodes on the grayscale variant in 73 ms and is correctly flagged as a malformed ID.
Latency benchmark output
Latency benchmark (5 runs on one image): 100 % hit rate, 76.1 ms mean, 79.4 ms p95, saved to the JSONL log.

Stage 3 — Web platform

The web version brings the database into the platform. The dashboard shows item status (available, on loan, reserved, maintenance, missing) and a “needs attention” panel. Items are registered from a phone with a camera photo; the ID (EV-######) is assigned automatically, the serial number is checked for duplicates and the QR sticker size is chosen from presets that keep a 2:3 ratio. Labels print one by one or in batches, and the whole register exports to Excel for customs in one click.

Adding an item: form, camera capture, sticker size and automatic item ID (2.5× speed).
The new item gets its QR label, ready to print.
Item detail and handoff: scanning a label records a movement with its new place, status and note.
Batch label printing and the single-label view (label size, item ID and serial number).
Export from the web platform to the Excel inventory register.

Each item has a Quick View with its photo, status, responsible area and activity log. A team that wants to borrow an item fills in a loan request (item, team, dates, purpose) that an admin approves before it is recorded, and the registration photo confirms the item’s condition at loan time.

Item Quick View panel
Quick View: item photo, status, details and action buttons — Request loan, Record movement, Print QR and Edit — with the full activity log below.
Photo Inspection view
Photo Inspection: the photo taken at registration, zoomable at full resolution, so the item condition at loan time is always on record.
Request a loan modal
Loan request form: item, borrowing team, start and return date, and purpose — submitted for admin approval before it is recorded.

Presented at Shell Eco-marathon Brazil 2026

We presented the system to the event’s Safety Team in the paddock as part of the Safety Leadership Award submission; the poster’s “Try it!” QR code let the judges open the platform on their own phones.

Explaining the system to a member of the Shell Safety Team
Walking a Shell Safety Team member through the platform on his phone.
Poster presentation to the Shell Safety Team in the paddock
Poster presentation to the Safety Team at the EcoVolt CCM paddock.
Poster: Automated PPE and Inventory Management System
Poster presented at Shell Eco-marathon Brazil 2026: problem, objective, loan flow and summary.

Tools & technologies

  • Python, OpenCV, NumPy, Matplotlib, JSONL: QR reading pilot and benchmark
  • TypeScript web platform with Convex database (team): inventory, loans, labels, export
  • Excel: first register and customs export

Results & lessons

  • Deployed in Brazil 2026: simplified the customs declaration and let the team close its paddock loan list in minutes
  • Fast reading: under 80 ms per image on a laptop, with valid and invalid IDs separated
  • Benchmark honestly: the 80 ms comes from 5 runs on one image; real paddock photos (light, angle, distance) are the next test
  • Data model first: the ID format changed between stages (TL-#### → EV-######); defining it upfront would have avoided the migration
  • Adoption is a UX problem: a mandatory scan at checkout would enforce the process better than an optional one
  • Next step: a camera-based condition check at checkout to flag worn or damaged PPE

Context: EcoVolt CCM, Shell Eco-marathon (paddock operations), 2025–2026; part of the team’s Safety Leadership Award submission. Stack: Python, OpenCV, NumPy, Matplotlib, JSONL · TypeScript web platform, Convex database · Excel · QR labels