" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
From what to build to how to build it — our platform helps you understand, plan, and solve SIH 2026 problem statements with complete insights into requirements, solution approaches, technology stacks, architecture, AI/ML, and implementation roadmaps.
Search for your problem statement, and start building your solution.
| Description: | 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. |
| Organization: | Ministry of Consumer Affairs, Food & Public Distribution |
| Department: | Department of Consumer Affairs (DoCA) |
| Category: | Software |
| Theme: | Miscellaneoustd> |
| Youtube Link: | Not provided |
| Dataset Link: | https://consumeraffairs.gov.in/pages/legal-metrology-act and the Legal Metrology (Packaged commodities) Rules, 2011 |
| Contact info: | Not provided |
Every pre-packaged commodity sold across physical retail, supermarkets, and e-commerce platforms in India is legally mandated under the Legal Metrology Act, 2009 and the Legal Metrology (Packaged Commodities) Rules, 2011 (LMPC Rules) to carry explicit declarations [PS]. These declarations include manufacturer/importer identity, generic commodity name, net quantity in standard SI units, month/year of manufacture or packing, Maximum Retail Price (MRP inclusive of all taxes), unit sale price, and consumer care details [PS, RESEARCHED]. However, due to the vast volume and variety of goods, manual inspection by legal metrology officers is resource-intensive, resulting in widespread non-compliance such as missing declarations, improper font sizes, illegible text, and misleading claims [PS].
This project delivers "MetroCheck AI", an offline-first, computer-vision and rule-engine powered mobile and web application that automates the detection, extraction, physical font-measurement, and statutory compliance checking of packaged commodity labels [INFERENCE]. Designed for field enforcement officers, e-commerce compliance teams, and consumers, the system extracts text via fine-tuned optical character recognition (OCR), calculates Principal Display Panel (PDP) surface areas and physical font heights using spatial calibration, runs a deterministic Legal Metrology rule engine, and automatically generates legal notice PDF reports synced with a centralized inspection repository [INFERENCE].
| Attribute | Value | Source Tag |
|---|---|---|
| Problem Statement ID | SIH26034 |
[PS] |
| Title | Software System to check compliance of Packaged Commodities under Legal Metrology(Packaged Commodities) Rules, 2011 by scanning products, images and labels. | [PS] |
| Organization | Ministry of Consumer Affairs, Food & Public Distribution | [PS] |
| Department | Department of Consumer Affairs (DoCA) | [PS] |
| Category | Software | [PS] |
| Theme | Miscellaneous | [PS] |
| Deadline | 30 September 2026 | [PS] |
| Ideas Counter | 1/500 | [PS] |
| Dataset Link | https://consumeraffairs.gov.in/pages/legal-metrology-act and Legal Metrology (Packaged Commodities) Rules, 2011 | [PS] |
To provide an automated, vision-driven, and rule-based compliance auditing platform that scans packaged commodity labels and product listings, measures spatial font dimensions against statutory PDP thresholds under the Legal Metrology (Packaged Commodities) Rules, 2011, and generates legally compliant inspection reports and violation notices [PS, INFERENCE].
The explicit problem requirements from SIH26034 are extracted into atomic requirements below, preserving the exact intent and wording from the source JSON [PS].
REQ-1: Image Upload & Product Scanning
REQ-2: Detection & Extraction of Mandatory Declarations
REQ-3: Font Size & Readability Analysis
REQ-4: Detection of Missing, Misleading, or Non-Standard Declarations
REQ-5: Report Generation & Violation Summaries
REQ-6: Photographic Evidence Attachment
REQ-7: Scanned Product Repository & History
REQ-8: Role-Based User Access & Security
REQ-9: Monitoring Dashboards
REQ-10: Technical Documentation
| Stakeholder | Goal | Current Pain | System Need |
|---|---|---|---|
| Legal Metrology Inspector (Field Officer) | Quickly inspect physical retail stock, detect label violations accurately, and issue notices without manual paperwork. | Manual measurement with calipers/ruler is slow; verifying font size rules across hundreds of products in a store is infeasible [KNOWN]. | Mobile app with offline camera scanning, auto-bounding box detection, millimeter font height estimation, and instant PDF notice generation [INFERENCE]. |
| State / Central Legal Metrology Administrator (DoCA) | Monitor statewide enforcement trends, track repeat offending brands, and deploy inspection forces strategically. | Data siloing across districts; lack of real-time visibility into systemic non-compliance across e-commerce & offline markets [RESEARCHED]. | Central web dashboard with heatmaps, brand compliance analytics, repeat-violator alerts, and direct integration capabilities with eMaap portal [RESEARCHED, INFERENCE]. |
| E-Commerce Compliance Team / Seller | Pre-audit thousands of digital product listings and uploaded images before publishing to avoid regulatory fines/delisting [RESEARCHED]. | High volume of seller uploads; manual auditing leads to missed non-compliant listings and government seizure notices [RESEARCHED]. | Automated bulk image API scanner that flags non-compliant listing photos and missing mandatory declarations prior to live publishing [INFERENCE]. |
| Public Citizen / Consumer | Verify whether a purchased product or e-commerce listing complies with pricing, quantity, and origin declarations. | Misleading MRP, missing country of origin, or hidden net quantity without an easy way to verify or report violations [KNOWN]. | Public mobile web scanner mode to check packaging compliance and lodge verified complaints directly to the National Consumer Helpline / DoCA [INFERENCE]. |
| Feature / Module | Addressed Requirement | Justification & Legal Basis |
|---|---|---|
| Mobile Label Scanner & Scale Calibration Engine | REQ-1, REQ-3, REQ-6 | Enables camera capture with physical scale reference (e.g., standard coin or ArUco card overlay) to convert pixels into millimeters for font height validation [INFERENCE]. |
| PaddleOCR + LayoutLM Multi-Lingual Extraction Pipeline | REQ-2, REQ-4 | Detects text regions on curved packaging, transcribes script (English + Hindi), and extracts statutory key-value fields [RESEARCHED, INFERENCE]. |
| PDP Calculation & Table-I Font Rule Engine | REQ-3, REQ-4 | Implements Section 7 / Table-I of LMPC Rules, 2011 to cross-check measured font height against PDP surface area thresholds [RESEARCHED]. |
| Deterministic Mandatory Declaration Validator | REQ-2, REQ-4 | Validates presence of all 8 mandatory fields under Rule 6, verifies SI unit compliance (Rule 12), and verifies MRP format with tax statements [RESEARCHED]. |
| PDF Legal Notice & Editable Report Generator | REQ-5, REQ-6 | Generates legally structured violation notices containing stamped evidence photos, GPS coordinates, and exact legal section citations [INFERENCE]. |
| Centralized Inspection Repository & Search Engine | REQ-7, REQ-8 | PostgreSQL-backed GTIN and brand database providing historic search, audit trails, and repeat offender identification [INFERENCE]. |
| Enforcement Analytics Dashboard | REQ-8, REQ-9 | Provides district-wise violation maps, brand compliance leaderboards, and officer productivity metrics for DoCA administrators [INFERENCE]. |
| Offline Sync Queue (Workbox / IndexedDB) | REQ-1, REQ-7 | Allows field inspectors in low-connectivity rural markets to scan packaging offline and auto-sync when online [INFERENCE]. |
| Data Type | Purpose | Ideal Real-World Source | Hackathon Substitute | Access Method | Availability | Privacy Sensitivity | Confidence Tag |
|---|---|---|---|---|---|---|---|
| Statutory LMPC Rules & Font Tables | Rule Engine validation logic | Official Gazette Notifications, Department of Consumer Affairs portal [RESEARCHED] | Digitized JSON schema of Rule 6, Rule 7 (Table I & II), and amendments [INFERENCE] | Public Web / PDF Parsing | Publicly Available | None | [KNOWN] |
| Packaged Commodity Label Images | OCR model training & testing | Field inspections, Open Food Facts India dataset, e-commerce listings (Amazon, Flipkart, Blinkit) [RESEARCHED] | Scanned dataset of 500+ Indian FMCG product packages across categories (Food, Cosmetics, Electronics) [ASSUMPTION] | Web Scraping / Synthetic Photo Capture | High (Manual Collection) | Low (Public Packaging) | [RESEARCHED] |
| Brand & Manufacturer Master Data | Cross-checking legal manufacturer registration & GTIN | eMaap Portal (DoCA) / GS1 India Datakart API [RESEARCHED] | Simulated Master JSON table mapping brand names to registered LMPC licenses [ASSUMPTION] | Local JSON DB / REST Mock | Restricted in Real-world [NEEDS VALIDATION] | Public Business Info | [INFERENCE] |
| Inspector Field Audit Logs | Compliance tracking & violation history | State Legal Metrology Department Enforcement Databases [RESEARCHED] | Synthetically generated inspection logs with GPS coordinates & violation records [ASSUMPTION] | PostgreSQL Database | Proprietary Govt Data | Medium (Officer details) | [INFERENCE] |
| Existing System | Description | Strengths | Weaknesses | Relevance | Remaining Gap | Source | Confidence Tag |
|---|---|---|---|---|---|---|---|
| eMaap Portal (DoCA / NIC) | Central national portal for Legal Metrology registrations, manufacturer licensing, and stamping status [RESEARCHED]. | Official government repository for LMPC certificates and license records [RESEARCHED]. | Lacks automated computer vision tools; field inspections and label compliance checking remain completely manual [RESEARCHED]. | High (Primary target workflow integration) | Does not analyze label images or verify physical font sizes automatically [INFERENCE]. | eMaap Portal [RESEARCHED] | [RESEARCHED] |
| Generic Vision OCR APIs (Google Cloud Vision / AWS Rekognition) | General-purpose cloud OCR and object detection services [KNOWN]. | Highly accurate text transcription across standard document formats [KNOWN]. | Zero domain awareness of LMPC Rules 2011; cannot calculate PDP area, cannot convert image pixels to physical mm font size, high cloud latency [INFERENCE]. | Medium (Underlying OCR primitive) | No legal metrology rule engine, no offline capability, no statutory report generation [INFERENCE]. | Official Cloud Docs [KNOWN] | [KNOWN] |
| Open Food Facts Scanner Mobile App | Open-source mobile application scanning product barcodes to display nutritional information [RESEARCHED]. | Large crowdsourced product database and mobile barcode lookup [RESEARCHED]. | Focused purely on nutrition/ingredients; does not validate Indian Legal Metrology statutory declarations or font rules [INFERENCE]. | Low (Barcode UX reference) | Does not assess legal packaging compliance or statutory font sizes [INFERENCE]. | Open Food Facts [RESEARCHED] | [RESEARCHED] |
| National Consumer Helpline (NCH) App | Mobile app for citizens to register general consumer grievance complaints [RESEARCHED]. | Established citizen grievance reporting pipeline [RESEARCHED]. | Requires manual user typing and image attachment without automated AI label verification or legal notice formatting [INFERENCE]. | Medium (Citizen reporting target) | No real-time automated verification of non-compliance evidence [INFERENCE]. | NCH Portal [RESEARCHED] | [RESEARCHED] |
font_height_mm = bbox_pixel_height * mm_per_pixel) [INFERENCE].Approach 3: Hybrid Edge-Cloud CV + Spatial Scale Calibration + Deterministic Legal Metrology Engine [INFERENCE].
mm_per_pixel calculated via reference target contours) and deterministic Python code for Rule 7 Table-I verification [INFERENCE].+-----------------------------------------------------------------------------------+
| CLIENT LAYER |
| +-------------------------------------+ +------------------------------------+ |
| | Field Mobile App (Flutter / React) | | Web Admin Dashboard (React + Vite) | |
| | - Live Camera & ArUco Scale Guide | | - Regional Heatmap Analytics | |
| | - On-Device ONNX Runtime (YOLOv8) | | - Brand Repeat Offender Search | |
| | - Offline SQLite & Workbox Queue | | - PDF Notice Editor & Export | |
| +-------------------------------------+ +------------------------------------+ |
+------------------------------------------+----------------------------------------+
| HTTPS / REST / gRPC
+------------------------------------------v----------------------------------------+
| API GATEWAY LAYER |
| - NGINX / Traefik Reverse Proxy & TLS 1.3 Termination |
| - JWT Authentication & Role-Based Access Control (RBAC) |
| - Rate Limiting & Request Validation |
+------------------------------------------+----------------------------------------+
|
+------------------------------------------v----------------------------------------+
| APPLICATION SERVICES LAYER |
| +----------------------------------+ +---------------------------------------+ |
| | Image Pre-Processing Service | | OCR & Key-Value Extraction Service | |
| | - OpenCV Contour Detection | | - PaddleOCR / EasyOCR Pipeline | |
| | - Cylindrical Unwarping | | - LayoutLMv3 Key-Value Extractor | |
| | - Contrast Enrichment (CLAHE) | | - Bi-lingual Text Normalization | |
| +----------------------------------+ +---------------------------------------+ |
| +----------------------------------+ +---------------------------------------+ |
| | Spatial Scale Calibration Module | | Deterministic LMPC Rule Engine | |
| | - ArUco / Coin Contour Metric | | - PDP Area Threshold Checker (Rule 7) | |
| | - Pixel-to-Millimeter Conversion | | - Mandatory Field Validator (Rule 6) | |
| | - Font Height Bounding Box Eval | | - SI Unit & MRP Syntax Checker | |
| +----------------------------------+ +---------------------------------------+ |
| +-----------------------------------------------------------------------------+ |
| | Report & Notice Generation Service (ReportLab / PDFKit) | |
| +-----------------------------------------------------------------------------+ |
+------------------------------------------+----------------------------------------+
|
+------------------------------------------v----------------------------------------+
| DATA & STORAGE LAYER |
| +----------------------------------+ +---------------------------------------+ |
| | PostgreSQL DB | | MinIO / S3 Object Store | |
| | - Inspection Records & History | | - Raw Image Evidence | |
| | - Brand Master Data | | - Bounding-Box Annotated Images | |
| | - GTIN / Barcode Index | | - Generated PDF Violation Notices | |
| +----------------------------------+ +---------------------------------------+ |
| +-----------------------------------------------------------------------------+ |
| | Redis Cache & Task Queue (Celery / BullMQ) | |
| +-----------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------------+
mm_per_pixel = reference_real_mm / reference_pixel_diameter [INFERENCE]. Simultaneously, the model crops the Principal Display Panel (PDP) bounding box and calculates its total surface area $A_{PDP}$ in cm² [INFERENCE].Manufacturer_Name, Net_Quantity, MRP, Mfg_Date, Consumer_Care_Email, etc. [INFERENCE].mm_per_pixel to determine physical font height in millimeters ($h_{mm} = h_{pixel} \times \text{mm_per_pixel}$) [INFERENCE].g, kg, ml, L) and MRP contains "incl. of all taxes" [RESEARCHED].| Layer | Selected Technology | Why Selected | Alternative Considered | Why Alternative Rejected |
|---|---|---|---|---|
| Mobile App | Flutter (Dart) | Single codebase for Android/iOS, native camera access, high performance for canvas rendering of bounding boxes [INFERENCE]. | React Native | Slower canvas rendering for real-time bounding box overlays [INFERENCE]. |
| Web Dashboard | React + Vite + TailwindCSS | Rapid UI rendering, rich ecosystem for data visualization charts (Recharts) and interactive maps [INFERENCE]. | Angular | Higher boilerplate, slower dev velocity for hackathon timeline [INFERENCE]. |
| Backend API Framework | FastAPI (Python 3.12) | Asynchronous, native support for Python AI/CV libraries (OpenCV, PyTorch, PaddleOCR), auto-generated Swagger docs [INFERENCE]. | Node.js (Express) | Poor native bindings for heavy computer vision & spatial geometry math [INFERENCE]. |
| OCR Primitive | PaddleOCR (PP-OCRv4) | Superior accuracy on scene text, multi-language support (English/Hindi), light footprint, fast inference [RESEARCHED, INFERENCE]. | Tesseract OCR | Lower accuracy on multi-color complex FMCG label backgrounds [INFERENCE]. |
| AI Inference Runtime | ONNX Runtime Engine | Cross-platform, hardware-accelerated CPU/GPU execution for quantized YOLOv8 & LayoutLM models [INFERENCE]. | Native PyTorch | High memory overhead, unsuitable for lightweight edge deployment [INFERENCE]. |
| Database | PostgreSQL 16 + PostGIS | Enterprise relational database with spatial mapping for geographic enforcement heatmaps and full-text search [INFERENCE]. | MongoDB | Lack of native spatial-relational constraints for structured audit trails [INFERENCE]. |
| Local Offline Database | SQLite (WAL mode) | Zero-config, lightweight, transactionally safe local storage for mobile sync queues [INFERENCE]. | Hive / AsyncStore | Lacks robust SQL relational queries for offline rule-checking [INFERENCE]. |
| Object Storage | MinIO (S3-Compatible) | Open-source self-hosted object storage for high-resolution packaging photo evidence and generated PDFs [INFERENCE]. | AWS S3 | Cloud cost overhead and network latency during hackathon builds [INFERENCE]. |
| PDF Generation | ReportLab (Python) | Programmatic PDF creation with precise millimeter vector positioning for official statutory legal notices [INFERENCE]. | HTML2PDF | Inconsistent page pagination and font rendering across environments [INFERENCE]. |
{"net_quantity": "500 g", "mrp": "150.00"}) [INFERENCE].-- Scanned Products Master Table
CREATE TABLE products (
product_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
gtin_barcode VARCHAR(14) INDEX,
brand_name VARCHAR(255) NOT NULL,
commodity_name VARCHAR(255) NOT NULL,
manufacturer_name VARCHAR(255),
manufacturer_address TEXT,
country_of_origin VARCHAR(100),
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Inspection Records Table
CREATE TABLE inspections (
inspection_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
product_id UUID REFERENCES products(product_id),
inspector_id UUID NOT NULL,
latitude DECIMAL(9,6),
longitude DECIMAL(9,6),
pdp_area_sq_cm DECIMAL(8,2) NOT NULL,
calibration_factor_mm_per_px DECIMAL(8,4) NOT NULL,
overall_compliance_status VARCHAR(20) CHECK (overall_compliance_status IN ('COMPLIANT', 'NON_COMPLIANT', 'NEEDS_REVIEW')),
violation_summary JSONB,
evidence_image_hash VARCHAR(64) NOT NULL, -- SHA-256
raw_image_url TEXT NOT NULL,
annotated_image_url TEXT NOT NULL,
pdf_report_url TEXT,
synced_to_emaap BOOLEAN DEFAULT FALSE,
inspected_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Extracted Declarations & Rule Validations
CREATE TABLE declaration_checks (
check_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
inspection_id UUID REFERENCES inspections(inspection_id),
declaration_type VARCHAR(50) NOT NULL, -- e.g. NET_QUANTITY, MRP, MFG_DATE
extracted_text TEXT,
measured_font_height_mm DECIMAL(5,2),
required_font_height_mm DECIMAL(5,2),
is_present BOOLEAN NOT NULL,
is_font_compliant BOOLEAN NOT NULL,
is_syntax_compliant BOOLEAN NOT NULL,
failure_reason TEXT
);
synced = false [INFERENCE]./api/v1/inspections/sync) [INFERENCE].===================================================================================
HACKATHON MVP SCOPE
===================================================================================
[MUST BUILD] - Core Value Proposition
-----------------------------------------------------------------------------------
1. Mobile-Responsive Scanning Interface: Mobile-first Web/Flutter scanner with camera
capture and interactive ArUco / ₹5 coin scale calibration guide [INFERENCE].
2. Spatial Font Height Engine: Pixel-to-millimeter converter that measures character
bounding box heights against PDP surface area [INFERENCE].
3. LMPC Rule Validation Engine: Python rule checker verifying the 8 mandatory Rule 6
declarations, Rule 7 Table-I font sizes, and SI unit syntax [INFERENCE].
4. Instant PDF Notice Generator: Automated legal notice compilation with embedded
annotated photos, rule citations, and compliance scores [INFERENCE].
5. Scanned Product Repository: Searchable web interface listing past scans, filterable
by GTIN, brand, compliance status, and date [INFERENCE].
6. Basic Enforcement Dashboard: Real-time visual metrics showing total scans, pass/fail
ratios, and top violation categories [INFERENCE].
[SHOULD BUILD] - High Impact Enhancements
-----------------------------------------------------------------------------------
1. Offline Sync Mechanism: Local SQLite storage queuing scans when offline, auto-
syncing upon network restoration [INFERENCE].
2. Bi-lingual OCR Parsing: OCR detection for Hindi key terms (e.g., "उपभोगता देखभाल")
alongside English [INFERENCE].
3. E-Commerce Image Mode: Screenshot analyzer verifying country-of-origin and seller
declarations for online product listings [RESEARCHED, INFERENCE].
[NICE TO HAVE] - Polishing
-----------------------------------------------------------------------------------
1. Heatmap Analytics: PostGIS map overlay showing district-wise non-compliance [INFERENCE].
2. Barcode Auto-Lookup: GTIN lookup auto-populating brand master data [INFERENCE].
[DO NOT BUILD DURING HACKATHON] - Explicitly Out of Scope
-----------------------------------------------------------------------------------
1. Live Production eMaap Government Portal API Write Integration (Use mock server) [INFERENCE].
2. Multi-state direct legal summons dispatch integration [INFERENCE].
3. Edge deployment on custom embedded hardware handhelds [INFERENCE].
===================================================================================
To convincingly demonstrate the platform to SIH judges without relying on live government production databases or physical laboratory calipers, the team will execute the following structured simulation plan:
lbs) [INFERENCE].0.082 mm/pixel), and highlighting the PDP region [INFERENCE].Rule 7, Table-I Non-Compliance [INFERENCE].Phase 1: Legal Metrology Rule Digitization & CV Calibration (Days 1 - 3)
├── Digitized JSON schema of LMPC Rules 2011 (Rule 6, Rule 7 Table-I/II, Rule 12).
├── Developed OpenCV ArUco & coin spatial scale calibration module (mm/px converter).
└── Built synthetic dataset of 100 annotated product label images.
Phase 2: Core Processing Pipeline & OCR Integration (Days 4 - 8)
├── Integrated PaddleOCR scene-text detection & LayoutLM key-value parser.
├── Built Python Deterministic Rule Engine for PDP area & font height checks.
└── Created FastAPI endpoints for scan processing, text extraction, & validation.
Phase 3: Mobile Scanner & Web Admin Dashboard Development (Days 9 - 14)
├── Built Flutter camera mobile scanner with live calibration & PDP grid overlay.
├── Implemented local SQLite offline queue & sync manager.
├── Built React + Vite Web Dashboard for inspection history, search, & analytics.
└── Integrated ReportLab PDF violation notice generator.
Phase 4: End-to-End Testing & Demo Bench Preparation (Days 15 - 18)
├── Conducted spatial accuracy benchmark testing across physical packaging samples.
├── Executed false-positive / false-negative rule engine stress testing.
├── Optimized ONNX model weights for lightweight mobile/edge execution.
└── Finalized live demo bench, physical test packages, and technical dossier.
Target Completion Date: September 2026 (Fully aligned with SIH deadline of 30 September 2026) [PS].
| Risk | Likelihood | Impact | Severity | Mitigation Strategy |
|---|---|---|---|---|
| Perspective Distortion on Curved Containers (e.g., cylindrical bottles distorting font dimensions) | High | High | High | Implement OpenCV cylindrical unwarping surface algorithms prior to measuring font bounding box heights [INFERENCE]. |
| User Miscalibration of Reference Target (e.g., holding coin at an angle or using wrong target size) | Medium | High | High | Implement auto-contour circle fit validation; require camera pose angle to be within $\pm 10^\circ$ perpendicular to label plane before enabling scan shutter [INFERENCE]. |
| Specular Reflection & Glossy Label Glare hiding text characters | High | Medium | Medium | Apply Contrast Limited Adaptive Histogram Equalization (CLAHE) pre-processing and prompt user to activate camera flash diffusion [INFERENCE]. |
| Erratic Offline Sync / Network Droppage in remote godowns | Medium | High | High | SQLite Write-Ahead Logging (WAL) with transactional payload chunking and idempotent server sync endpoints [INFERENCE]. |
| False Allegation of AI Hallucination in Court | Low | High | High | Maintain 100% separation between AI text extraction and rule evaluation. All compliance logic is deterministic Python code with raw bounding box math [INFERENCE]. |
| Dimension | Generic Submissions | MetroCheck AI (Proposed Solution) |
|---|---|---|
| Font Height Measurement | Vague claims of "measuring font size using AI" without physical scale context [INFERENCE]. | Spatial Calibration Engine: Uses ArUco / coin reference targets to convert image pixels to absolute physical millimeters (mm/px), explicitly verifying Rule 7 Table-I [INFERENCE]. |
| Compliance Decision Logic | Feeding text to ChatGPT / LLM to ask "Is this package compliant?" (Unreliable, non-deterministic) [INFERENCE]. | 100% Deterministic Rule Engine: Explicit Python logic evaluating Section 6 & 7 thresholds, producing auditable, court-admissible results [INFERENCE]. |
| Field Usability | Cloud-dependent web app failing in low-network godowns [INFERENCE]. | Offline-First Mobile Architecture: Edge ONNX execution and SQLite queue with automatic background sync [INFERENCE]. |
| Judicial Admissibility | Unverified raw image uploads [INFERENCE]. | Cryptographic Evidence Chain: Embedded SHA-256 image hashing, GPS geolocation stamps, and automated PDF statutory notice compilation [INFERENCE]. |
eMaap) to auto-verify manufacturer license registration numbers and compound offence history [RESEARCHED, INFERENCE].[ASSUMPTION] Standard Indian ₹5 coin (diameter = 23.0 mm) or printed ArUco tag serves as an acceptable universal calibration target for field inspectors.[ASSUMPTION] Mid-range Android devices equipped with 4GB RAM and 1080p cameras are available to field enforcement officers.[NEEDS VALIDATION] Production API authentication specs, SSL certificate requirements, and database schema for direct integration with DoCA's live eMaap portal [NEEDS VALIDATION].[NEEDS VALIDATION] Exact legal status and judicial precedent regarding smartphone photo evidence admissibility for issuing compound penalty notices without manual physical caliper backup [NEEDS VALIDATION].Proceed immediately with Approach 3 (Hybrid Edge-Cloud CV + Spatial Calibration + Deterministic Legal Metrology Engine) [INFERENCE]. This architecture satisfies all functional requirements, solves the physical font measurement challenge through rigorous spatial geometry, guarantees zero AI hallucination in legal decisions, and operates reliably in offline field environments [INFERENCE].
92 / 100 [INFERENCE]. (High buildability: Core CV, OCR, and rule validation technologies are well-supported by open-source libraries. The primary challenge lies in camera calibration tuning, which is fully achievable within the hackathon build window) [INFERENCE].
HIGH [INFERENCE].
The Legal Metrology (Packaged Commodities) Rules, 2011 (As Amended)
Legal Metrology Overview - Department of Consumer Affairs (DoCA)
eMaap National Legal Metrology Portal
Legal Metrology (Packaged Commodities) Amendment Rules for E-Commerce
What we think about this platform, and how it can help people solve SIH problems.
" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
" The platform makes SIH problem statements much easier to understand. Having everything from the problem details to the procedure in one place. "
" Oh, you got ads? Well, we need to make money too! But, you can use our platform to help you win SIH and take home the prize money. "
Get in touch if you need help bringing your ideas to life, or simply have an interesting idea you'd like to talk through. I'm always open to a conversation and exploring new possibilities together.