NeuroScan AI is an AI-powered medical web platform that assists in the early detection and analysis of brain tumors using MRI scan images. The platform combines modern frontend engineering, serverless backend infrastructure, and advanced multimodal AI models to deliver fast, accurate, and explainable results.
The system can determine:
- Whether a brain tumor is present or absent
- The type of tumor detected
- The severity / level of the tumor
In addition, NeuroScan AI generates personalized dietary recommendations, produces downloadable PDF medical reports, securely shares reports with family members, and maintains a complete scan history for long-term monitoring.
| Feature | Description |
|---|---|
| π§ Tumor Detection | AI-based classification to detect presence or absence of brain tumors. |
| 𧬠Tumor Type Identification | Identifies tumor type (e.g., Glioma, Meningioma, Pituitary). |
| π Severity & Level Analysis | Estimates tumor level for better clinical insight. |
| π Diet Recommendations | AI-generated recommended & avoid-food guidance. |
| π Downloadable Reports | Auto-generated PDF reports with visual insights. |
| π¨βπ©βπ¦ Family Report Sharing | Secure email delivery of reports to family members. |
| ποΈ Scan History | Stores and visualizes historical MRI scans & reports. |
| π¨ Theme Switching | Light/Dark mode using system-aware theming. |
| π Secure Data Storage | Powered by Supabase authentication & Postgres. |
| π§ 3D Visualization | MRI rendering & overlays using WebGL / Three.js. |
graph TD
A[MRI Scan Upload π§ ] --> B[React Web Interface π»]
B --> C[Gemini Vision AI]
C --> D[Tumor Detection & Classification]
D --> E[Severity Analysis]
E --> F[Diet Recommendation Engine π]
D --> G[PDF Report Generator π]
G --> H[Email Sharing Service π§]
D --> I[Supabase Database ποΈ]
I --> J[Scan History Dashboard π]
J --> K[User π€]
Root Path: c:\Users\dinesh\Downloads\clarity-scan-ai-main
βββ π clarity-scan-ai-main
β βββ π public
β β βββ π images
β β β βββ πΌοΈ ai-processing.svg
β β β βββ πΌοΈ detailed-report.svg
β β β βββ πΌοΈ tumor-detection.svg
β β β βββ πΌοΈ upload-mri.svg
β β βββ π favicon.ico
β β βββ πΌοΈ placeholder.svg
β β βββ π robots.txt
β βββ π src
β β βββ π components
β β β βββ π ui
β β β β βββ π accordion.tsx
β β β β βββ π alert-dialog.tsx
β β β β βββ π alert.tsx
β β β β βββ π aspect-ratio.tsx
β β β β βββ π avatar.tsx
β β β β βββ π badge.tsx
β β β β βββ π breadcrumb.tsx
β β β β βββ π button.tsx
β β β β βββ π calendar.tsx
β β β β βββ π card.tsx
β β β β βββ π carousel.tsx
β β β β βββ π chart.tsx
β β β β βββ π checkbox.tsx
β β β β βββ π collapsible.tsx
β β β β βββ π command.tsx
β β β β βββ π context-menu.tsx
β β β β βββ π dialog.tsx
β β β β βββ π drawer.tsx
β β β β βββ π dropdown-menu.tsx
β β β β βββ π form.tsx
β β β β βββ π hover-card.tsx
β β β β βββ π input-otp.tsx
β β β β βββ π input.tsx
β β β β βββ π label.tsx
β β β β βββ π menubar.tsx
β β β β βββ π navigation-menu.tsx
β β β β βββ π pagination.tsx
β β β β βββ π popover.tsx
β β β β βββ π progress.tsx
β β β β βββ π radio-group.tsx
β β β β βββ π resizable.tsx
β β β β βββ π scroll-area.tsx
β β β β βββ π select.tsx
β β β β βββ π separator.tsx
β β β β βββ π sheet.tsx
β β β β βββ π sidebar.tsx
β β β β βββ π skeleton.tsx
β β β β βββ π slider.tsx
β β β β βββ π sonner.tsx
β β β β βββ π switch.tsx
β β β β βββ π table.tsx
β β β β βββ π tabs.tsx
β β β β βββ π textarea.tsx
β β β β βββ π toast.tsx
β β β β βββ π toaster.tsx
β β β β βββ π toggle-group.tsx
β β β β βββ π toggle.tsx
β β β β βββ π tooltip.tsx
β β β β βββ π use-toast.ts
β β β βββ π AnalysisResults.tsx
β β β βββ π Brain3D.tsx
β β β βββ π BrainDetector.tsx
β β β βββ π Footer.tsx
β β β βββ π MRIUploader.tsx
β β β βββ π NavLink.tsx
β β β βββ π Navigation.tsx
β β β βββ π ScanHistory.tsx
β β β βββ π SegmentationOverlay.tsx
β β β βββ π Testimonials.tsx
β β β βββ π ThemeToggle.tsx
β β β βββ π Timeline.tsx
β β β βββ π UserMenu.tsx
β β βββ π hooks
β β β βββ π use-mobile.tsx
β β β βββ π use-toast.ts
β β β βββ π useAuth.tsx
β β βββ π integrations
β β β βββ π supabase
β β β βββ π client.ts
β β β βββ π types.ts
β β βββ π lib
β β β βββ π utils.ts
β β βββ π pages
β β β βββ π About.tsx
β β β βββ π Auth.tsx
β β β βββ π Community.tsx
β β β βββ π Contact.tsx
β β β βββ π Dashboard.tsx
β β β βββ π Detector.tsx
β β β βββ π Disclaimer.tsx
β β β βββ π FAQ.tsx
β β β βββ π Home.tsx
β β β βββ π HowItWorks.tsx
β β β βββ π Index.tsx
β β β βββ π NotFound.tsx
β β β βββ π Privacy.tsx
β β β βββ π Profile.tsx
β β β βββ π Terms.tsx
β β βββ π styles
β β βββ π utils
β β β βββ π brainTumorClassifier.ts
β β β βββ π pdfReportGenerator.ts
β β βββ π¨ App.css
β β βββ π App.tsx
β β βββ π¨ index.css
β β βββ π main.tsx
β β βββ π vite-env.d.ts
β βββ π supabase
β β βββ π functions
β β β βββ π analyze-brain-mri
β β β β βββ π index.ts
β β β βββ π segment-brain-tumor
β β β βββ π index.ts
β β βββ π migrations
β β β βββ π 20251212072153_af912736-36e3-4609-9ea7-c8df6d6178bc.sql
β β β βββ π 20251213170654_5f89fac9-04bc-42a3-8a49-0d5e47f0906b.sql
β β β βββ π 20251215031032_279fbe2a-b56f-49da-a42f-c261e3d98def.sql
β β β βββ π 20251216053430_692b888e-500c-4e53-9faf-57fad3646fc4.sql
β β βββ βοΈ config.toml
β βββ βοΈ .gitignore
β βββ π README.md
β βββ π bun.lockb
β βββ βοΈ components.json
β βββ π eslint.config.js
β βββ π index.html
β βββ βοΈ package-lock.json
β βββ βοΈ package.json
β βββ π postcss.config.js
β βββ π tailwind.config.ts
β βββ βοΈ tsconfig.app.json
β βββ βοΈ tsconfig.json
β βββ βοΈ tsconfig.node.json
β βββ π vite.config.ts
βββ π public
β βββ π index.html
βββ βοΈ .firebaserc
βββ βοΈ .gitignore
βββ βοΈ firebase.json
βββ βοΈ package-lock.json
βββ βοΈ package.json
Contributions are welcome! If youβd like to improve this project or add features, feel free to:
- Fork the repo.
- Create a new branch.
- Submit a pull request.
I appreciate all suggestions for enhancement! π
Letβs connect:
