Demo Overview
Welcome! This page is a Table of Contents for the TTB COLA Label Validator prototype. Every page, API endpoint, and key feature is listed below with a brief summary. Click any card to jump directly to that section of the app.
Core Features
The primary pages that deliver the TTB label validation workflow
Upload a beverage label image via drag-and-drop or file picker. The system validates compliance against TTB requirements and displays pass/fail results with regulatory citations.
Advanced label processing workspace with perspective correction (4-point & mesh warp), cylindrical unwrap, surface curvature controls, OCR text extraction (Tesseract + AI), auto-flatten, sharpen, multi-label split, and export.
Dashboard listing all submitted labels pending agent review. Filterable by status (submitted, in review, approved, rejected), beverage category, and search. Includes batch stats and real-time refresh.
Generate realistic test label images using Gemini AI. Choose from 10 presets (bourbon, IPA, cabernet, vodka, etc.) or write a custom prompt. Supports front/back labels, generation history, download, and send-to-simulator.
Review Pipeline
Agent profiles, individual submission review, and performance analytics
Agent profiles showing name, title, division, specialties, certifications, and availability status. Each card displays lifetime performance stats (reviews, approvals, rejections, avg review time) plus recent activity.
Click any submission in the queue to open a detailed review page. Agents can examine all submitted labels, view OCR results, check the compliance checklist, compare fields against the COLA form, and render approve/reject/needs-revision decisions.
Developer Tools
API testing, component showcase, and interactive walkthrough
Interactive endpoint tester with a sample label gallery. Select an endpoint (OCR, flatten, explain, queue, generate), pick a sample image, and see the raw JSON response. Great for exploring the API without Postman.
Visual showcase of all design tokens (colors, typography), button variants, status badges, card patterns, form elements, alert types, and a complete API endpoint reference table.
Legacy Style Variants
The same features rendered in the original Tailwind dark-mode styling (pre-TTB.gov redesign)
REST API Endpoints
All backend routes available for label processing, review, and administration
Key Capabilities
Notable technical features implemented across the application
Tech Stack
Technologies and libraries powering the application
Coding Practices Applied
10 systematic improvements implemented across the codebase