Anil Optixx — AI Optical Prescription Scanner & Cloud POS
An end-to-end native Android billing and CRM application built for optical clinics and eyewear retailers. Anil Optixx uses on-device document edge detection and OCR to scan physical eye prescriptions into editable digital tables, pairs them with custom lens specifications, enforces cloud-first PDF invoice archiving via Firebase, and delivers one-tap WhatsApp billing—cutting checkout time from 10 minutes down to 30 seconds.
Production Engineering Stack
Architected with strict separation of concerns, deterministic state management, and low-latency execution.
AI-Powered Optical Prescription Scanner & Cloud POS Billing System
Optical retailers manage complex bilateral eye prescription matrices (Sphere, Cylinder, Axis, Distance/Near vision) alongside granular lens customizations (Coatings, Base Curve, Tint, Material). Relying on manual paper diaries and handwritten bills leads to transcription errors, slow customer checkout queues, and permanently lost prescription records.
The Engineering Solution
I designed and engineered Anil Optixx as a mobile-first Point-of-Sale (POS) and prescription management ecosystem. The app turns any Android device into an intelligent optical scanner and cloud billing terminal.
Technical Architecture & Pipeline
Key Features & Engineering Breakdown
90% Faster Checkout
Reduced prescription entry and invoice generation from ~10 minutes to under 30 seconds.
100% Cloud Backup Integrity
Enforced sync-before-share pipeline ensures zero missing customer records.
Adaptive M3 Interface
Responsive design supporting Light/Dark modes and multi-device screen dimensions.
Smart Document Edge Detection & OCR Parsing
- Integrated Google ML Kit Document Scanner with automatic corner detection, perspective correction, and cropping for both live Camera captures and Gallery imports.
- Automated OCR extraction populates Right Eye (OD) and Left Eye (OS) optical parameters (Sph, Cyl, Axis, V/A for Distance and Near vision) into an interactive, editable verification grid.
Enforced Cloud-First PDF Billing Pipeline
- Custom native PDF invoice generator (PdfDocument) that renders branded optical invoices containing prescription tables, lens specifications (Lens Type, Coating, Size, Tint, Base Curve), and pricing breakdowns.
- Built a strict state-machine workflow: local PDF downloads and one-tap WhatsApp sharing (FileProvider + Intent.ACTION_SEND) unlock only after the invoice PDF is verified as uploaded to Firebase Cloud Storage and indexed in Cloud Firestore, guaranteeing 100% database integrity.
Material Design 3 (Material You) & Adaptive UI
- Engineered with strict 48x48dp minimum touch targets, tonal elevation hierarchy (Levels 0–5), and responsive constraints (WindowSizeClass) for seamless operation across phones, foldables, and tablets.
- Includes dynamic theme switching (Light, Dark, and System Default) alongside Google Sign-In and Guest/Anonymous evaluation modes.
Real-Time CRM History & Multi-Mode Search
- Live Firestore-backed invoice repository featuring inline PDF thumbnail previews, quick record editing, and confirmation-guarded deletions.
- Dedicated search and filtering engine supporting instant lookups by customer name, preset time frames (Today, Yesterday), single dates, or custom date ranges.
Network-Resilient State Management
- Implemented proactive ConnectivityManager network checks prior to cloud reads/writes, preventing corrupted uploads and guiding store operators with clean feedback during offline states.
Share this Case Study
https://atharvajain.in/projects/anil-optixx
MORE PRODUCTION ARCHITECTURES
Explore Other Case Studies
02 · Quantitative AI & Fintech
Aegion Wealth — Institutional-Grade Multi-Asset Robo-Advisory
03 · Android, Desktop & Web Ecosystems
Pathshala Multi-Platform Edutech Ecosystem
04 · AI Computer Vision & Native Android
Attendo — AI-Based Attendance Management Android App
05 · AI Healthcare · Wearable IoT & Native Android