SIH26034SoftwareMiscellaneous
₹1,50,000 Prize (₹75k Joint)
•
Deadline: 20 September 2026
•
Submitted Ideas: 0/500

Software System to check compliance of Packaged Commodities under Legal Metrology(Packaged Commodities) Rules, 2011 by scanning products, images and labels.

Ministry / Organization: Ministry of Consumer Affairs, Food & Public Distribution
Department: Department of Consumer Affairs (DoCA)
Technical Complexity
8/10
Dataset Accessibility
7/10
36h Hackathon Viability
9/10
Step 0 • Zero-Jargon Layman Summary

“Retail products sold across India must display specific legal information like MRP, manufacturing date, and packer details in precise formats. Because checking millions of packages manually is impossible, inspectors need a smart software tool to scan labels and instantly detect missing or illegal labels. This project builds that automated scanning and compliance system.”

The DecodeX PS Decoder™

Deconstructed Problem Blueprint

Step 1

WHAT TO BUILD?

A hybrid web and mobile application featuring computer vision and OCR pipelines designed to automatically detect, extract, and validate mandatory consumer declarations on packaged commodities against the Legal Metrology Rules, 2011.

Step 2

WHO IS IT FOR?

The primary user is the Department of Consumer Affairs (DoCA) and state-level Legal Metrology enforcement officers, while the beneficiaries include retail consumers and compliant manufacturers.

Step 3

WHY DOES IT EXIST?

Manual inspection of millions of SKU packages in warehouses, retail stores, and e-commerce listings is humanly impossible, allowing non-compliant, misleading, or counterfeit packaging to slip through and cheat consumers.

Step 4

INPUT → PROCESS → OUTPUT ARCHITECTURE PIPELINE

01 • Inputs & Telemetry

Images of product labels captured via smartphone camera, uploaded package image files, or web-scraper payloads from e-commerce product listings.

02 • Processing & AI Core

Image preprocessing (dewewing, contrast enhancement), object detection for text regions, OCR text extraction, layout segmentation, and rule-based NLP validation engine checking against Legal Metrology Rules (font sizes, mandatory fields, net quantity units).

03 • Actionable Deliverables

An automated compliance dashboard, detailed digital violation reports in PDF format, flagged non-compliance metrics, and a secure searchable repository of past inspections.

Step 5

CONSTRAINTS

  • Must handle curved surfaces, shiny/reflective plastic packaging, and multi-lingual text labels.
  • Must accurately compute pixel-to-millimeter ratios to verify mandatory minimum font size requirements under legal rules.
  • Must support offline-first mobile operations for ground inspectors working in remote warehouses with zero cellular connectivity.
Step 6

JURY METRICS

  • OCR Extraction Accuracy (Precision & Recall for numeric fields like MRP and Net Quantity).
  • Font-size compliance calculation error rate (< 2% variance from manual physical measurements).
  • End-to-end processing latency per product image (< 5 seconds on standard mobile hardware).
  • UI/UX intuitive flow for non-technical field inspectors.
Step 7

CORE BOTTLENECK

Accurately measuring physical font sizes (in millimeters/points) from 2D images captured under varying camera angles, lighting conditions, and curved packaging geometries.

Why You Should Choose This PS (Pros)

  • Extremely high national governance and consumer protection impact.
  • Clear, well-defined rulebook (Legal Metrology Rules 2011) makes rule-engine logic construction straightforward.
  • Great visual demo potential with real-time bounding boxes and instant red/green compliance badges.

Challenges & Risks to Watch (Cons)

  • Handling shiny, metallic, or glossy packaging materials causes glare and compromises standard OCR pipelines.
  • Font size verification requires camera calibration or reference objects to translate pixel heights into real-world units.
Hackathon Blueprint

Recommended Tech Stack & Grand Finale Features

Frontend & Mobile
Next.js (Web Dashboard)Flutter (Mobile App for Field Inspectors with offline SQLite caching)
Backend & APIs
FastAPI (Python for high-performance ML inference handling)
AI / ML & Models
YOLOv8/v11 for text/label region detectionPaddleOCR or TrOCR for multi-lingual text extractionCustom rule-based Python regex parser for Legal Metrology validation logic
Database & Cloud
PostgreSQL with SQLAlchemyRedis for job queuingAWS S3 or MinIO for image storage

Killer Features to Impress the SIH Jury

AR-based Live Overlay: Point the phone camera at a package and instantly highlight missing or illegal fields in red/green bounding boxes in real-time.
Auto-Font Sizer: Automatically calculates font heights relative to net package dimensions using a reference anchor or bounding box aspect ratios.
E-Commerce Link Scraper: Paste a Flipkart/Amazon URL to instantly audit product listing images for legal metrology compliance without even scanning a physical item.
View Official SIH 2026 Portal Raw Text
▼
BACKGROUND

Packaged commodities are widely sold through retail stores, supermarkets and e-commerce platforms across India. Under the Legal Metrology Act, 2009 and the Legal Metrology(Packaged Commodities) Rules, 2011, every packaged commodity is required to bear mandatory declarations such as name and address of manufacturer/packer/importer, net quantity, Maximum Retail Price (MRP), month and year of manufacture/packing/import,consumer care details and other prescribed declarations in a specified format and manner.These declarations are important for ensuring transparency, fair trade practices and consumer protection. However, due to the large volume and variety of packaged products available in the market, manual inspection and compliance checking by enforcement agencies becomes time-consuming and resource intensive. Non-compliance such as missing declarations, incorrect font sizes, improper MRP declarations and other such practices are frequently observed.There is scope to develop a compliance checking system capable of scanning product labels,package images and product listings to identify violations under the Legal Metrology(Packaged Commodities) Rules,

2011.Accordingly, a software system capable of automatically detecting, extracting and validating mandatory declarations and identifying noncompliances in packaged commodities through image and label analysis can be developed.
DESCRIPTION

Develop a software application capable of scanning packaged commodity labels, product images and product information to automatically assess compliance with the Legal Metrology(Packaged Commodities) Rules,

2011.

The system should be capable of:

•Scanning and analyzing images of packaged commodities.
•Detecting mandatory declarations prescribed under Legal Metrology rules.
•Checking correctness, completeness and placement of declarations.
•Identifying missing or non-compliant declarations.
•Checking readability and font size requirements.
•Generating compliance reports and violation summaries.
•Maintaining a repository of scanned products and compliance history.
•Providing dashboards for enforcement officials.
EXPECTED SOLUTION

The proposed solution should include:

•User-friendly web and/or mobile-based software application.
•Automated extraction and validation of mandatory declarations.
•Rule-based compliance checking for Legal Metrology (Packaged Commodities)

Rules,

2011.

•Generation of digital compliance reports in PDF and editable formats.
•Dashboard for monitoring inspections, violations and product compliance details.
•Search and retrieval facility for previously scanned products and reports.
•Technical documentation describing software architecture and deployment framework.

Key Functional Requirements:

•Image upload and product scanning functionality.
•Extraction of declarations from labels and packaging and detection of mandatory declarations
•Font size and readability analysis.
•Detection of missing, misleading or non-standard declarations.
•Generation of compliance/non-compliance reports.
•Attachment of photographs and supporting evidence.
•Repository of scanned products and inspection history.
•Role-based user access and secure authentication.
•Dashboard for monitoring compliance status and enforcement activities.
•Export of reports to PDF and editable formats.