Case Study

Building a Scalable Smart Cart System with 90-95% OCR Accuracy Using AWS and Amazon Bedrock for an IT Consulting Firm

Download the Case Study
Industry 

IT Services and IT Consulting

Expertise 

AWS Lambda, AWS IoT Core, Amazon API Gateway, Amazon SQS, Amazon S3, Amazon DynamoDB, Amazon Bedrock

Offerings/solutions 

Built a GenAI smart cart pipeline achieving 98% product identification and 90-95% OCR accuracy on AWS

About the Client

The client is a software company established in 2017 that solves supply-chain and retail operation challenges using AI and mobile edge computing solutions. Recognized under DPIIT’s Startup India program, their platform supports inventory, payments, operations, and reporting, serving over 5 lakh businesses to streamline operations and reduce manual effort.

Highlights

98%

Product Identification Accuracy

90-95%

OCR Accuracy

Enhanced Accuracy

Rule-Based Billing Validation

The Challenge

The client needed highly accurate product recognition for smart carts despite inconsistent camera angles, lighting conditions, and packaging variations. The system required multi-image validation, real-time OCR and weight verification with ±10g tolerance, duplicate prevention to avoid race conditions, low-latency billing updates during shopping, and scalable data ingestion from field devices without disrupting the shopping experience.

Solutions

• Field devices upload images to S3 and weight/session data to IoT Core (MQTT)
• Amazon S3 triggers Amazon SQS, which invokes Lambda for controlled parallel processing
• Lambda preprocesses images and uses Bedrock Claude 3.5 Sonnet for OCR and label extraction
• OCR results sent to Amazon EC2 FastAPI, which uses Claude 3 Haiku + Bedrock Knowledge Base + Titan Embeddings for product identification and SQL generation
• Product validated using cart weight from Amazon DynamoDB; bill updated in Amazon DynamoDB
• Mismatches trigger IoT drop alerts back to the device

The Results

Delivered a GenAI smart cart pipeline achieving 98% product identification, 90-95% OCR accuracy, and enhanced billing precision through rule-based validation.

Download the Case Study

AWS Partner – GenAI Competency

Pioneering GenAI space by being an AWS Partner - GenAI Competency.

Learn more

An authorized partner for all major cloud providers

A cloud agnostic organization with the rare distinction of being an authorized partner for AWS, Microsoft, Google and VMware.

Learn more

A house of strong pool of certified consulting experts

150+ cloud certified experts in AWS, Azure, GCP, VMware, etc.; delivered 200+ projects for top 100 fortune 500 companies.

Learn more

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!