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.
Design at a glance




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.

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.


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.
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.



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.



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