regal-dashboard

byashi singh

Build a professional AI analytics dashboard-style website for a Deep Learning project named: VisionDigits AI AI-Powered Handwritten Digit Recognition Dashboard Project Goal: Create an interactive web application where users can draw or upload handwritten digits (0–9) and receive predictions using a trained CNN model based on the MNIST dataset. Tech Stack: Python, Convolutional Neural Network (CNN), MNIST dataset, FastAPI backend API, Streamlit frontend interface, OpenCV for image preprocessing, Plotly or Matplotlib for visualization. Core Features: • Canvas input to draw handwritten digits • Image upload option for prediction • Large predicted digit display in bold format • Top-3 prediction confidence scores • Full probability distribution chart for digits (0–9) • Bright colorful visible confidence bars • Confidence gauge meter visualization • Grad-CAM attention heatmap visualization • Prediction history panel storing last 5 predictions • Download prediction result option • Demo sample digit buttons for quick testing without drawing Explainable AI Features: • Confidence interpretation panel explaining whether prediction confidence is high, medium, or low • Panel showing top 3 similar digit predictions with comparison confidence • Attention heatmap explaining which image region influenced prediction Dashboard UI Requirements: • Fix overlapping layout issues • Add proper spacing between all components • Use high-contrast typography (primary text white, secondary text light gray) • Replace thin fonts with modern fonts like Inter or Poppins • Keep dark theme but add theme toggle button (dark/light mode switch) • Save theme preference after page reload • Use bright distinct colors for probability bars (digits 0–9) • Highlight prediction output clearly • Center-align dashboard layout professionally • Add clean card-style UI sections like real AI analytics dashboards Workflow Section (visible pipeline): Capture → Pre-process → CNN Inference → Visualization Explain steps clearly: Capture: user draws or uploads digit Pre-process: resize image to 28×28 pixels, grayscale conversion, normalization CNN Inference: trained CNN model predicts digit probabilities Visualization: display predicted digit, charts, and Grad-CAM heatmap Navigation Menu: Home | About | Architecture | Dataset | Workflow | Model Training Add About Page Section: Include explanation describing what VisionDigits AI is and how it works step-by-step using CNN and MNIST dataset. Explain preprocessing, prediction pipeline, visualization outputs, and dashboard workflow clearly. Dataset Information Panel: Dataset: MNIST handwritten digit dataset Images: 70,000 samples Classes: digits 0–9 Image size: 28×28 pixels Model Architecture Panel: Model Type: Convolutional Neural Network Layers: Convolution → ReLU → Pooling → Dense → Softmax Display model accuracy (~98%) Model Training Details Panel: Epochs used during training Optimizer: Adam Loss function: categorical cross-entropy Training accuracy visualization chart Visualization Panel: Confidence gauge meter Colorful probability distribution chart Grad-CAM attention heatmap explanation Top 3 similar digit prediction comparison chart Prediction Intelligence Panels: Confidence interpretation panel (high / medium / low confidence explanation) Prediction history panel storing last 5 predictions Footer Status Bar: System Active indicator API connection status Inference latency indicator Model type: CNN MNIST Precision level indicator System Performance Panel: Display inference time in milliseconds Show model loaded status Show API connected status Design Requirement: Create a modern professional AI analytics dashboard interface with structured layout, readable typography, colorful charts, card-style UI panels, and responsive spacing similar to real-world machine learning product demo dashboards. Additional UX Enhancements: Add demo sample digit buttons Add download prediction report option Add prediction history tracking panel Add similar digit comparison visualization Add confidence explanation logic panel Goal: Build a resume-level interactive AI deployment website demonstrating Deep Learning classification, Explainable AI visualization, CNN prediction workflow understanding, API integration using FastAPI, and a professional dashboard interface suitable for portfolio presentation and job interviews.

HomeDashboard
Home

Comments (0)

No comments yet. Be the first!

Project Tasks19

#1

Implement Theme & Global Styles

To Do

As a user I want to be able to use a consistent dark/light theme across all pages. Implement the global color palette (#121212 background, #1E1E1E surface, #F5F5F5 text, #FF5722 accent, #757575 muted), typography (Inter/Poppins), and theme toggle logic with localStorage persistence. Remove any scaffold pages not needed (e.g. default welcome page). This task must be completed independently before any page implementation begins.

AI 80%
Human 20%
High Priority
1.5 days
Frontend Developer
#9

Implement Prediction API

To Do

As a user I want to be able to use the backend API for digit prediction. Implement a FastAPI endpoint POST /api/predict that accepts a base64-encoded image or file upload, preprocesses it (resize to 28×28, grayscale, normalize), runs CNN inference, and returns predicted digit, top-3 confidence scores, full probability distribution (0–9), and inference latency in ms.

AI 75%
Human 25%
High Priority
2 days
Backend Developer
#16

Integrate Status Bar Dashboard

To Do

As a user, I want the Dashboard StatusBar component wired to GET /api/status polling every 30 seconds so that real-time indicators (API status, inference latency, model type, IST timestamp) are displayed without manual refresh.

AI 55%
Human 45%
Medium Priority
1 day
Frontend Developer
#17

Integrate Report Download Dashboard

To Do

As a user, I want the Dashboard QuickActions download button wired to GET /api/report so that I can download a full prediction report (PDF/JSON with prediction, confidence scores, heatmap, IST timestamp) with one click.

AI 55%
Human 45%
Medium Priority
1 day
Frontend Developer
#18

Implement Confidence Interpretation API

To Do

As a developer, I need a FastAPI endpoint using LangChain that accepts a confidence score and returns a human-readable interpretation (high/medium/low with explanation) so that users can understand prediction reliability in plain language.

AI 70%
Human 30%
Medium Priority
2 days
AI Engineer
#2

Build Home Page

To Do

As a user I want to be able to use the Home page to draw a digit on a canvas, upload an image, or test a demo sample digit. Implement the Home page based on the existing JSX design (v2). The page should include: interactive canvas input, image upload button with ripple animation, fixed demo sample digit buttons, and an animated workflow pipeline (Capture → Pre-process → Analysis → Visualization). Links to Dashboard after prediction. Ensure light/dark theme compatibility.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
Frontend Developer
#3

Build Dashboard Page

To Do

As a user I want to be able to use the Dashboard page to view the latest prediction result, explore the Grad-CAM heatmap, review prediction history, and download a report. Implement based on existing JSX design (v2). Sections include: PredictionPanel (large bold digit, confidence radial indicator), InteractiveHeatmap (Grad-CAM), HistorySection (last 5 predictions with IST timestamps and confidence badges), InsightsCards (total predictions, avg confidence, model accuracy), WorkflowVisualization, QuickActions (upload, download, retrain, share), TopBar, Sidebar, and StatusBar. Fix light theme rendering. Ensure all sub-sections are functional and navigable.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
3 days
Frontend Developer
#4

Build Architecture Page

To Do

As a user I want to be able to use the Architecture page to view CNN model layer details (Convolution → ReLU → Pooling → Dense → Softmax), model accuracy (~98%), and model type. Implement based on existing JSX design (v1). The page should visually represent each layer with icons, labels, and a brief description. Link back to Dashboard and forward to Dataset per user flow.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
Frontend Developer
#5

Build Dataset Page

To Do

As a user I want to be able to use the Dataset page to explore MNIST dataset information: 70,000 samples, 10 classes (digits 0–9), 28×28 image size. Implement based on existing JSX design (v1). Include dataset stats cards, sample image grid, and class distribution chart. Links from Architecture and to Workflow per user flow.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
Frontend Developer
#6

Build Workflow Page

To Do

As a user I want to be able to use the Workflow page to view the full data processing pipeline: Capture → Pre-process (resize 28×28, grayscale, normalize) → CNN Inference → Visualization. Implement based on existing JSX design (v1). Include animated step nodes, descriptions per step, and status indicators. Links from Dataset to Model Training per user flow.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
Frontend Developer
#7

Build Model Training Page

To Do

As a user I want to be able to use the Model Training page to view training statistics: epochs, optimizer (Adam), loss function (categorical cross-entropy), and training accuracy visualization chart. Implement based on existing JSX design (v1). Include training accuracy/loss charts and a model performance summary card. Links from Workflow per user flow.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
Frontend Developer
#8

Build About Page

To Do

As a user I want to be able to use the About page to read an overview of VisionDigits AI, understand how it works step-by-step using CNN and MNIST, and learn about preprocessing, prediction pipeline, visualization outputs, and the dashboard workflow. Implement based on existing JSX design (v1). Include narrative sections with icons and clear typography. Entry point for Recruiter/Interviewer persona per user flow.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1 day
Frontend Developer
#10

Implement Grad-CAM Heatmap API

To Do

As a user I want to be able to use the backend API for Grad-CAM heatmap generation. Implement a FastAPI endpoint POST /api/heatmap that accepts an image and returns a Grad-CAM attention heatmap overlay image (base64 or URL) highlighting the regions that influenced the CNN prediction.

Depends on:#9
Waiting for dependencies
AI 70%
Human 30%
High Priority
2 days
AI Engineer
#11

Implement Report Download API

To Do

As a user I want to be able to use the backend API to download a prediction report. Implement a FastAPI endpoint GET /api/report that generates and returns a PDF or structured JSON report containing prediction result, confidence scores, heatmap image, and IST timestamp for the current session.

Depends on:#9
Waiting for dependencies
AI 70%
Human 30%
Medium Priority
1.5 days
Backend Developer
#14

Implement Status Bar API

To Do

As a user I want to be able to use the footer status bar to see real-time system performance indicators. Implement a FastAPI endpoint GET /api/status returning API connection status, inference latency (ms), model type (CNN v2.x), model loaded status, and current IST timestamp. Poll every 30 seconds from the frontend StatusBar component.

Depends on:#9
Waiting for dependencies
AI 72%
Human 28%
Medium Priority
1 day
Backend Developer
#19

Build Confidence Interpretation UI

To Do

As a user, I want a confidence interpretation panel on the Dashboard that shows a LangChain-generated explanation (high/medium/low confidence label with descriptive text) so that I can understand the model's prediction reliability without technical knowledge.

Depends on:#18
Waiting for dependencies
AI 65%
Human 35%
Medium Priority
1.5 days
Frontend Developer
#12

Integrate Prediction API with Home

To Do

As a user I want to be able to use the Home page canvas draw, image upload, and demo sample buttons to trigger real backend predictions. Wire POST /api/predict to the Home page input components. On success, navigate to Dashboard and pass prediction results. Show loading states and error handling. Fix wrong prediction display issue.

Depends on:#2#9
Waiting for dependencies
AI 80%
Human 20%
High Priority
1.5 days
Frontend Developer
#13

Integrate Heatmap API with Dashboard

To Do

As a user I want to be able to use the Dashboard page to view the real Grad-CAM heatmap for the latest prediction. Wire POST /api/heatmap to the InteractiveHeatmap section. Include zoom/pan controls, color scale legend, and tooltip on hover. Ensure heatmap updates when a new prediction is loaded from HistorySection.

Depends on:#10#3
Waiting for dependencies
AI 80%
Human 20%
High Priority
1.5 days
Frontend Developer
#15

Implement Selective Re-run Feature

To Do

As a user I want to be able to trigger a selective re-run of specific dashboard sections (PredictionPanel, InteractiveHeatmap, InsightsCards) to regenerate outputs without refreshing the entire page. Add re-run buttons per section in the Dashboard UI that call the relevant API endpoints and update only that section's state.

Depends on:#9#3#10
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
1.5 days
Frontend Developer
Home design preview
Home: Draw Digit
Dashboard: View Prediction
Dashboard: Explore Heatmap
Architecture: View CNN Layers
Dataset: Explore MNIST Info
Workflow: View Pipeline
Model Training: View Training Stats