Production Tracking By Santosh Rijal March 8, 2026 10 min read

How QR Code Production Tracking Works in Garment Factories — Complete Guide

Every morning at 9 AM, the supervisor at a factory in Bara used to walk the floor counting bundles by hand. 45 minutes. Every single day. One miscount and 200 operators' payments were wrong. I built a system to fix that. Here is exactly how QR-based bundle tracking works on a real sewing floor, what breaks, and why we chose it over every alternative.

The Problem Nobody Talks About

In most CMT factories I have visited across Nepal, production tracking looks the same: a tally sheet pinned to each operator's machine. She makes a tick mark for every bundle she finishes. At the end of the day, a supervisor collects the sheets, counts the marks, and types numbers into Excel. Sometimes the sheet falls on the floor. Sometimes the ink smudges. Sometimes two operators claim the same bundle.

The payment disputes were the worst part. An operator finishes 23 bundles but the tally shows 21. She argues. The supervisor argues back. Nobody has proof. Multiply that by 80 operators and you have a factory floor that runs on trust and memory instead of data.

That is the problem we set out to solve when we built Scan ERP. Not "digitize the factory" in some abstract sense. Just answer one question accurately: who did what, and when?

A Bundle's Journey: From Cutting Table to Pay Slip

Let me walk you through what actually happens to a bundle in our system. This is not a theoretical workflow. This is what runs on the floor every day.

1

The bundle is born in the cutting room

A cutting sheet comes in: Lot S27, Article 8082, 400 pieces across 4 sizes and 3 colors. The cutting master spreads fabric, cuts, and sorts pieces into bundles — front panels in one stack, backs in another, sleeves, collars, pockets, each grouped by size and color. Our system generates a unique ID for every physical bundle. That 400-piece order just became 180 bundles, each one a trackable unit with its own identity. The cutting room prints QR labels on a TSC thermal printer. Each label encodes everything: {"a":"8082","l":"S27","b":"B001","s":"M","c":"BLUE","p":"FRT","q":1,"n":10}. Article, lot, bundle ID, size, color, component, quantity. The label gets pinned to the bundle. From this moment, that bundle exists in two places: the physical trolley and the digital system.

2

Work gets generated from the template

Before bundles hit the sewing floor, the system needs to know what operations each bundle requires. We use garment templates — think of them as recipes. Article 8082 is a polo shirt: attach collar, close shoulder, set sleeve, side seam, hem, buttonhole, button attach. Each operation maps to a machine type. The system takes 180 bundles and multiplies them by 7 operations: that is 1,260 individual work assignments, all created automatically with the correct dependencies. The shoulder seam cannot start until front and back panels are both done. The system knows this because it knows the garment structure.

3

The operator scans and the clock starts

Sunita picks up a bundle of front panels from the trolley. She points her phone at the QR label. One second. The system finds the matching work assignment, checks that she is qualified for overlock on this article, and starts the timer. That single scan replaced writing the bundle number, piece count, operation name, and start time on a tally sheet. Across our floor with 80 operators doing 25 bundles each per day, that is 2,000 manual entries eliminated. Every single day.

4

The supervisor watches from his phone

Supervisor Ramesh used to walk 3 km a day checking each station. Counting bundles on trolleys. Asking operators how many they had done. Writing it down. Now he checks his phone. The live dashboard shows him exactly which bundles are at which station, which operators are ahead of target, and where work is piling up. When 15 bundles stack up at the side-seam station, his phone buzzes before he even notices the bottleneck. He reassigns two operators from buttonhole — a machine that is running ahead — and the line balances itself within the hour.

5

Components meet and the garment comes together

This is the part that most tracking systems get wrong. A polo shirt is not one bundle moving through a line. It is six components — front, back, two sleeves, collar, pocket — all moving independently through different machines. At some point, they need to converge. We call this "marriage." When Sunita finishes the front panel and Bikash finishes the back panel for the same garment, the system automatically unlocks the "join shoulder" operation. No supervisor needs to check if both components are ready. No bundle sits waiting because someone forgot to update a spreadsheet. The QR scan data drives the dependency logic. We built five layers of redundancy into this unlock system because if it fails, the whole floor stalls.

6

The pay slip writes itself

Every completed scan feeds directly into the operator's earnings diary. Sunita finished 23 bundles of overlock today at NPR 4.50 per piece, 10 pieces per bundle. That is NPR 1,035 in base pay. Her quality score is 93%, which qualifies for a 15% quality bonus. The system calculates all of this in real time. She checks her phone at lunch and sees exactly where she stands. End of month, the accountant pulls the report and payroll is done in 20 minutes instead of 3 days. Zero disputes last month. Zero.

The Numbers From Our Floor

These are not projections. These come from our live deployment at a CMT factory running Scan ERP across cutting, sewing, and finishing.

8,400+
Bundles tracked per month
97.3%
First-scan success rate
1.2 sec
Average scan-to-record
0
Payment disputes (last 3 months)

That 97.3% first-scan rate matters more than it sounds. It means out of 100 scans, only 3 need a retry. A 2024 ResearchGate study on IoT-based garment line tracking achieved over 98% transmission success using RF communication, which aligns with our experience: once you get the scanning infrastructure right, reliability is not the bottleneck. We achieve this by running three QR decoders in parallel — jsQR, the browser's native BarcodeDetector API, and ZXing — with real-time image preprocessing that adjusts for lighting and label condition. The QR code format itself helps: Denso Wave's original QR design includes Reed-Solomon error correction, meaning up to 30% of the code can be damaged and still scan correctly. That is defined in the ISO/IEC 18004 standard, and it is the reason QR works in a factory where labels get creased, dusty, and stepped on.

Why QR and Not RFID

RFID vendors will tell you QR codes are "consumer tech." They are right — and that is exactly why it works. Every operator already knows how to scan a QR code with their phone. Training time: zero. With RFID, you need dedicated readers at every station, special tags on every bundle, and someone who knows how to configure the middleware. I have seen RFID pilot projects in Kathmandu factories that cost $15,000 just for the hardware and took three months to set up.

Let me be plain about the cost difference. A QR label costs less than NPR 1. An RFID tag costs NPR 8-20 — and according to RFID Journal, tags run $0.08-$0.50 each at scale, with full implementation costing $250K-$500K for mid-sized operations. For a factory producing 8,000 bundles a month, that is the difference between NPR 8,000 and NPR 160,000 — every single month, just on tags. QR is not 2x cheaper. It is 100x cheaper when you factor in the readers, the middleware, and the integration work.

Factor Manual / Paper Barcode RFID QR Code
Setup cost None Low $5,000-50,000+ $200-500
Per-label cost Paper + pen $0.01-0.03 $0.05-0.15 per tag Under $0.01
Data capacity Limited 20-25 characters 96-512 bits Up to 4,296 characters
Scanning device Human eyes Dedicated scanner RFID reader ($200-2,000) Any smartphone
Operator training None 30 min Half day + IT support 5 minutes
Damaged label recovery Illegible = lost Poor Good (no line-of-sight) 30% damage tolerance
Best for Under 10 operators Warehouses Automated distribution Sewing floors, CMT

RFID has one genuine advantage: it does not require line-of-sight scanning, which makes it excellent for warehouse inventory and laundry tracking. But on a sewing floor, the operator is already holding the bundle. She is already looking at it. Pointing a phone camera at a label adds one second to her workflow. RFID's no-contact scanning advantage disappears when the bundle is in your hands.

If you want to evaluate this yourself, Auburn University's RFID Lab publishes detailed cost analyses of RFID deployments in apparel. The numbers consistently show RFID making economic sense at the finished-goods and retail level, not at the cut-and-sew level where bundle volumes are high and margins are thin. For tracking standards in apparel, the GS1 apparel guidelines cover both RFID and 2D barcode (including QR) approaches.

What Goes Wrong (And How We Fixed It)

I am not going to pretend QR tracking is flawless. Here is what actually breaks on the factory floor and what we did about it.

Labels get destroyed

Oil from the sewing machine drips on the label. The bundle gets tossed into a bin and the label tears. An iron scorches it during pressing. We switched to thermal transfer printing on synthetic labels — they survive heat, moisture, and rough handling better than direct thermal. For labels that do get damaged beyond scanning, the system falls back to manual bundle ID entry. The operator types in the bundle code printed in plain text below the QR pattern. It takes 5 seconds instead of 1, but the data still gets captured.

Operators forget to scan

This was our biggest problem in the first month. Operators would finish a bundle, toss it on the trolley, and grab the next one without scanning. Old habit. We solved it three ways. First, we made earnings visible in real time — when you can see your daily pay going up with each scan, you stop forgetting. Second, the system detects "stuck" operations — if a bundle has been in progress for too long, the supervisor gets an alert. Third, we added audio confirmation. A short chime plays on scan, and the operator hears her piece count announced in Nepali. No scan, no chime, no count — the absence becomes obvious.

Phone cameras struggle in bad light

Factory floors are not photography studios. Fluorescent tubes flicker. Some corners are dim. Phone cameras from 2019 struggle with autofocus on small labels. Our image preprocessing pipeline adjusts contrast and brightness per-frame before sending it to the decoder. But for high-throughput stations where speed matters most, we built dedicated scanner stations using ESP32-CAM modules. A fixed camera, good LED lighting, and continuous scanning — the operator just waves the label past and keeps moving. Total cost per station: about $15.

WiFi drops in the middle of a scan

Factory WiFi is unreliable. Concrete walls, metal machinery, too many devices on a cheap router. We built the entire system offline-first. Every scan is saved to the phone's local storage (IndexedDB) immediately. When the connection comes back, it syncs. An operator can work an entire shift with no internet and not lose a single scan. We also run a Raspberry Pi as a local cache server on the factory LAN — it reduces our cloud database reads by 94% and keeps the dashboard responsive even when the internet link to Firestore is slow.

The Hardware Shopping List

This is what we actually use. Not a wish list — the real equipment running on our floor right now.

You need these

Worth adding

Total hardware for a 50-operator setup: roughly $500-800, not counting phones operators already own.

What to Look for in a Tracking System

If you are evaluating QR tracking software for your factory, here is what actually matters. I am biased, but these are lessons from building and running this, not marketing bullet points.

Where This Goes Next

We are tracking bundles. That is the foundation. But the QR scan data opens doors we did not expect when we started. We can now calculate exact fabric consumption per garment because we know which bundles came from which cutting lot and how many pieces actually made it through. We can predict delivery dates because we have real velocity data, not estimates. We can identify which operators are fastest on which machines and auto-assign work to match.

The garment industry has been running on tally sheets and gut instinct for decades. A two-cent QR label and a phone camera is all it takes to change that. The question is not whether your factory should track digitally. It is how long you can afford not to.

Scan ERP by Country

🇮🇳 India 🇧🇩 Bangladesh 🇻🇳 Vietnam 🇳🇵 Nepal 🇦🇪 UAE 🇰🇭 Cambodia 🇱🇰 Sri Lanka 🇲🇦 Morocco 🇪🇹 Ethiopia

Ready to Track Production With QR Codes?

Scan ERP is purpose-built for garment factories. QR bundle tracking, automated payments, live dashboards, and offline support — all included.

Get a Free Demo