Smart Vision
A privacy-conscious classroom engagement analytics platform that turns aggregate session signals into practical teaching insights.
Portfolio concept and technical prototype; production metrics and public deployment are not yet published.

01
Problem and goal
Instructors often receive feedback after a course has ended. Smart Vision explores how de-identified, aggregate engagement signals can provide timely feedback without turning classroom analytics into individual surveillance.
02
Technology stack
Next.js and TypeScript
Provide a responsive dashboard, typed contracts, server rendering, and accessible routing.
Python, FastAPI, and WebSockets
Separate inference workloads from the web UI while streaming aggregate session updates.
PyTorch, OpenCV, and ONNX Runtime
Support model experimentation, frame processing, and portable optimized inference.
PostgreSQL, Docker, and GitHub Actions
Store structured aggregates and provide repeatable builds, tests, and deployments.
03
Key features and user flows
Session setup
An instructor creates a class session, selects consent and retention settings, and starts aggregate analysis.
Live engagement dashboard
The dashboard displays time-series engagement, participation patterns, and interaction changes without naming students.
Post-session report
After the lesson, the instructor reviews peaks, drop-offs, and suggested moments for follow-up.
Privacy controls
Administrators configure access, audit history, aggregation thresholds, and deletion policies.
04
Architecture
Frontend
Next.js App Router dashboard with server-rendered entry views and client-side live visualizations.
Backend and inference
FastAPI orchestrates session APIs and WebSocket updates; a separate worker runs ONNX inference and aggregation.
Data model and APIs
Session, AggregateMetric, Insight, ConsentPolicy, and AuditEvent records are exposed through versioned REST endpoints; live metrics use WebSockets.
05
Development process
Discovery and safeguards
Define users, consent boundaries, success criteria, and prohibited uses.
Prototype and validate
Prototype dashboard flows and validate comprehension with representative educators.
Incremental implementation
Deliver typed API contracts, inference workers, dashboards, and reports in reviewable iterations.
Test and release
Use pull-request review, automated checks, staged environments, and documented release decisions.
06
Deployment and environments
Environment plan
Local development, protected staging with synthetic data, and a production environment isolated by secret and database boundaries.
Hosting and CI/CD
Planned deployment uses Vercel for the web app, container hosting for inference services, managed PostgreSQL, and GitHub Actions quality gates.
07
Challenges and resolutions
Privacy versus usefulness
Resolved at design level through aggregate-only views, minimum cohort thresholds, short retention, and no default raw-video storage.
Real-time workload
Separated frame processing from HTTP traffic, applied sampling and batching, and used ONNX for portable optimized inference.
08
Quality evidence
Automated verification
Type checking, linting, unit tests for aggregation rules, API contract tests, and Playwright coverage for responsive user journeys.
Accessibility and performance
Keyboard-operable controls, semantic chart summaries, reduced-motion support, code splitting, bounded update frequency, and optimized image delivery.
Measurement policy
Production accuracy, latency, and adoption metrics will be published only after a consented pilot; no unverified result is presented as achieved.
09
Maintenance and extensibility
The dashboard, API, inference worker, and model artifacts remain separate deployable modules. Versioned schemas, feature flags, migration scripts, observability, and model cards allow teams to update one layer without silently changing another.
10
Future roadmap
Consented pilot
Validate usability, fairness, retention defaults, and educator value with synthetic data first and an approved pilot second.
Explainable insights
Attach confidence, source intervals, and limitations to every generated recommendation.
LMS integration
Add standards-based exports and role-aware integration with approved learning platforms.
11