{% extends "base.html" %} {% block title %}Upload Scan — AI Medical Intelligence Pipeline{% endblock %} {% block content %}

Upload DICOM Scans

Upload one or many CT brain scans for AI-powered hemorrhage screening. A single exam may contain hundreds of slices — all modes below handle that seamlessly.

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}
{% if local_mode %} {% endif %}

Drag & drop a .dcm file here

or click to browse

Drag & drop .dcm files or a .zip archive

Select multiple files, or a single .zip containing DICOM slices

{% if local_mode %}

The server will recursively find all .dcm files in this directory and its sub-folders, then run inference on each. This option is only available when running locally.

{% endif %}

How It Works

1
Upload

Select DICOM files, a ZIP, or enter a directory path

2
Process

CT windowing & preprocessing on each slice

3
Analyze

EfficientNet-B4 model with calibrated scoring

4
Report

Grad-CAM visualization & clinical report per slice

{% endblock %} {% block scripts %} {% endblock %}