NeuroVision

NeuroVision

A fine-tuned DeiT vision transformer that sorts brain scans into four classes, behind a Flask web app. Published at the 16th IEEE ICCCNT, IIT Indore, in July 2025.

status
16th IEEE ICCCNT, IIT Indore · July 2025
stack
Python · PyTorch · ML
links

What it is

NeuroVision is the working system behind my paper Brain Tumor Classification Using DeiT Vision Transformer, presented at the 16th IEEE ICCCNT, IIT Indore, in July 2025.

Brain tumors are among the most complicated neurological disorders, with over 120 subtypes classified by the World Health Organization, and reading medical images by hand is slow and inconsistent. The paper looks at whether a Data-efficient Image Transformer (DeiT) can classify them automatically.

How it works

The model starts from deit-small-patch16-224, pre-trained on ImageNet, and is fine-tuned for tumor classification. It takes a 224×224 image and predicts one of four classes: glioma, meningioma, pituitary tumor, or no tumor.

A Flask web app wraps the model. You upload an image on the classify page, the server preprocesses it, runs the prediction, and returns the label, a confidence score, and a chart of the probability for each class.

Stack

  • Python, PyTorch, timm
  • Flask, served with gunicorn
  • Matplotlib for the probability plots

The full write-up is on the journal: Brain Tumor Classification with DeiT Vision Transformers.

v2.05,607,895,613 tokens