Auto-Parts Image Text Extraction at Scale
VLM-Based OCR over Millions of Product Photos
My Role
- Pick the model by benchmarking 7–10 candidates
- GPU plan with fallbacks for out-of-stock GPUs
- Retry failed images so the output is complete
Approach at a Glance
Details- 1Model Selection by Benchmark
- 2GPU Infrastructure Planning
- 3Batch Processing Pipeline
- 4Phase 2 – Production Runs and Watermark Text
Executive Summary
A large-scale system that reads the text on auto-parts product photos for an online auto-parts retailer: brand names, part numbers, sizes and other markings printed on parts and packaging. The retailer's catalog held millions of product images whose most useful information existed only as pixels. Turning that text into structured data made products easier to enrich, search and match.
The project ran in two phases, and I advised on both:
- Research (Sep – Nov 2024): we evaluated 7–10 modern vision-language and OCR models on real catalog photos. The winner, Molmo, a 7B open vision-language model, reached 86% accuracy across the whole corpus at 2–3 seconds per image.
- Production (late 2025 – Jan 2026): the pipeline processed more than 6 million images on two GPU servers with 17 A40 GPUs each, including text in watermarks.
As consultant, I led model selection, designed the batch pipeline and the GPU infrastructure plan, and reviewed the work of a small team of 2–3 people.
Client Profile
The client is an online auto-parts retailer with a very large product catalog. Each part listing comes with photos, and those photos often carry the details customers search for:
- the manufacturer's brand,
- the part number stamped on the part or printed on the box,
- sizes, thread specs and other markings.
In the catalog data itself, these fields were often missing or inconsistent.
Extracting this text by hand was impossible at the scale of millions of images. Classic OCR struggles with real product photos: text sits on curved metal, is embossed or stamped, appears at odd angles, sits next to packaging graphics, or is only a small part of a busy photo. The retailer needed a solution that was accurate enough on these hard images and affordable enough to run over the whole catalog.
Technical Approach
-
Model Selection by Benchmark – Rather than assume a single OCR engine would work, we benchmarked 7–10 of the most capable models of the time on real catalog photos. The candidates spanned classic OCR engines, dedicated text-extraction models and general vision-language models. Each was scored on accuracy against the corpus and on speed per image. Molmo, a 7B vision-language model, gave the best balance: 86% accuracy on the whole corpus, with an average of 3 seconds and a median of 2 seconds per image. Its ability to understand the image, rather than just find character shapes, made the difference on stamped, curved and cluttered text.
-
GPU Infrastructure Planning – At millions of images, model choice was only half the problem; throughput and GPU availability decided the schedule. We compared GPU types (A40, A100, L40S), single large servers against several smaller ones, and short, highly parallel runs against long, cheaper ones. We also planned fallbacks for when the preferred GPU type was out of stock, since high-end GPUs on rental clouds are often unavailable without warning. The chosen setup ran the model on every GPU of two servers with 17 A40 cards each.
-
Batch Processing Pipeline – The production pipeline takes a list of image URLs, runs a model service on each GPU, and streams images through it in parallel. The extracted text is written as structured rows per image. Failed downloads or inferences are logged and re-processed, so the final output is complete. A per-source formatting step then turns the raw text into the shape the retailer's catalog needs.
-
Phase 2 – Production Runs and Watermark Text – In the production phase, the pipeline processed a first run of 4.25 million images at 2.5–3 seconds per image across the cluster. It was then extended to detect text embedded in image watermarks and processed about 1.9 million more images from additional sources on the same servers and pipeline, bringing the total to more than 6 million images.
Business Outcome
The retailer turned millions of product photos into searchable, structured text. Brands, part numbers and sizes that only existed inside images could now feed catalog enrichment and product search and matching. Choosing the model by benchmark rather than by habit is what made this possible: the winning vision-language model handled real-world part photos with 86% accuracy, at a speed that let more than 6 million images be processed in production runs on a 34-GPU cluster.
Technologies
Planning something similar?
Tell me about it on a short call. New projects can start within 2 weeks