Inspiration

It may appear that doctors don’t make mistakes, but the amount of harm that can come from delaying a brain MRI. It has the potential of ignoring the most severe brain tumor: those who have to suffer through the terrible consequences including headaches, vomiting, and memory loss are put in such a vulnerable position. My uncle was unfortunately one of these individuals, and he wasn’t aware of his tumor until it started impacting his ability to perform simple daily tasks, such as walking up the stairs, reading Moby Dick, and even cooking his family his famous Fettuccine Alfredo. Despite his successful brain MRI, his MRI review was delayed for too long, which only ended up causing him more pain. The amount of distress this caused his family was unmeasurable, and no one deserves to experience this horrific reality. As a result, our team’s goal is to ensure that another family doesn’t have to go through this, and we are working towards this goal by developing NeuroScan AI to help streamline and accelerate these processes while providing guidance for healthcare administrators, inexperienced practitioners, and more!

What it does

Our project is an AI-assisted brain MRI workflow and learning device developed to support scanning reviews, instead of making medical diagnoses. It analyzes uploaded MRI images to check image quality, highlight visual patterns, and suggest which scans may need faster clinical review. This platform also provides medical explanations to help new clinicians learn about what they are viewing. By organizing this information in a structured way, this tool helps improve efficiency, consistency, and prioritization in MRI workflows while keeping all final decisions with medical professionals.

How we built it

We built NeuroScan AI as a web application that is meant to show the world one of the ways AI can support healthcare. The frontend was built using React using component-based state management so it can handle image uploads, previews, and analysis requests. The MRI images are uploaded through a drag-and-drop or file-selection interface and validated as image inputs before scanning.

Once an image is selected, it is converted into an encoded format using the browser’s FileReader API, making sure there is a secure transmission to the AI backend without persistent file storage. We also added an AI API key so our website is capable of visual reasoning and a carefully made prompt that makes sure to constrain the model’s behavior. This lets us make sure the AI analyzes only brain MRI images, gives insights only based on the visible features, and also returns an output in a predefined JSON schema.

The AI response is then validated on the client side then sent to UI components that do an image quality assessment, structural observations, workflow priority guidance, educational insights, and limitations. We added loading states, error handling, and response validation to make sure that system remains stable even when AI outputs are inconsistent. Throughout our development, we focused on making the system function as a decision-support and workflow automation tool rather than a diagnostic system.

Challenges we ran into

One of the biggest challenges was making sure to limit the responses the AI model could give us, because large models try to identify or label medical conditions, we had to refine our prompts and put constraints to prevent diagnoses, treatment advice, or speculative conclusions. Making sure that the feedback was reliable needed numerous rounds of testing done by cross referencing public health records.

Another major challenge was output consistency. Even when requesting structured JSON-only responses, the AI would occasionally return partially structured output. We fixed this by implementing defensive parsing logic, fallback error handling, and UI safeguards so the application would fail safely without misleading users.

We also faced some technical challenges around image handling and performance, including managing large image files, converting them efficiently, and maintaining responsive UI feedback during the API calls. Last but most definitely not least, balancing realism with ethics needed a lot of careful design choices. We had to make sure that the platform felt deployable and useful while clearly communicating limitations.

Accomplishments that we're proud of

FullStack MRI Analysis API Pipeline Implemented a full-stack pipeline using JavaScript (React + backend APIs), CSS, and HTML where brain MRI images are uploaded, validated, processed, and analyzed and returned a structured JSON report directly in the UI.

Input Validation Layer Built backend validation to enforce MRI Analysis, including file-type checks, size constraints, and metadata inspection, with automatic rejection or warning paths for unsupported or low-usability inputs.

Schema-Driven Enforcement Defined an analysis schema (Image Quality, Structural Patterns, Workflow Priority, Educational Insights, Confidence Level) and implemented response parsing to ensure consistency across screens.

Visual Feature Implemented AI-driven assessment focused strictly on image properties, including asymmetries, contrast, intensity, as well as irregularities with the shaping. Workflow Priority Classification Engine Built a logic layer that converts observed visual features into Low, Medium, and High workflow priority, with explainable rationale tied directly to image characteristics, it supports triage without clinical decision-making.

Educational Explanation Generator for Junior Clinicians Implemented a contextual explanation layer that programmatically translates image observations into educational guidance, suggesting what a supervising clinician might review next. This can greatly impact and become beneficial for medical students as a study/review tool as well.

Confidence Module Added a confidence scoring system that surfaces uncertainty, image quality constraints, and analysis boundaries in every report reducing bias. Side-by-Side Visualization & Report Built a responsive UI that synchronizes MRI image viewing and AI reports, enabling rapid scan review for healthcare administrators and clinical operations teams.

What we learned

-Building secure file upload pipelines and validating medical image formats such as PNG.

-Integrating machine learning models into a web backend using an API.

-Optimizing performance so AI inference does not freeze the website.

-Designing an interface that is simple enough for non-technical users.

-Presenting AI results in a clear non-alarming and interpretable way.

What's next for NeuroScan

We plan to improve the model’s quality by training and validating it on a more diverse set of MRI scans to better handle different image qualities, scanners, and patient types. We also aim to expand workflow features, such as clearer prioritization explanations, confidence calibration, and integration with existing clinical systems such as PACS for more reliable adoption. In the longer run, we want to bolster the educational component by building on guided learning modules and case-based examples for new clinicians. Any future development would continue to emphasize non-diagnostic use and collaboration with medical professionals to ensure the tool remains an ethical and practical workflow support system.

Built With

Share this project:

Updates