OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Brain Tumor Detection

An Apache-2.0-licensed Jupyter Notebook project that builds a TensorFlow and Keras convolutional neural network to classify brain MRI images as tumorous or non-tumorous.

Independent OpenViST project profile, based on linked sources.

Brain Tumor Detection — AI Models
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it to examine or adapt an educational MRI-classification prototype when you can work with the described image data and TensorFlow/Keras notebooks.

Who it is for

  • Learners studying CNN-based medical-image classification.
  • Researchers or developers prototyping brain MRI classifiers with a small labeled dataset.

Documented uses

  • Explore a notebook-based CNN for binary MRI image classification.
  • Study preprocessing and data augmentation for a small, imbalanced image collection.
  • Inspect the project's reported validation and test metrics and its saved model weights.
Before you choose

Requirements & limits

The repository is public and specifies an Apache-2.0 license.

  • The described dataset contains 253 original images, with 155 positive and 98 negative examples; the README says augmentation expands it to 2,065 examples including the originals.
  • The README reports 88.7% test accuracy and 0.88 test F1 score on its test set; these results do not establish performance on other datasets or clinical suitability.
  • The repository provides notebooks, model weights, and image folders; use requires the relevant data and a TensorFlow/Keras environment.
  • The README notes that GitHub's notebook viewer may not display notebooks as expected and suggests nbviewer for viewing.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare brain MRI images for model input

Apply the documented preprocessing and dataset split to brain MRI images before neural-network training.

Before you start

  • Brain MRI images organized into tumorous and non-tumorous classes; the README describes a Kaggle dataset with 155 tumorous and 98 non-tumorous images.

Steps

  1. Crop each image to retain the part containing the brain.

  2. Resize each image to (240, 240, 3).

  3. Normalize pixel values to the range 0–1.

  4. Split the data into 70% training, 15% validation, and 15% testing sets.

Expected outcome

Preprocessed images with a consistent shape and normalized pixel values, divided into training, validation, and test sets.

Guide limitations

  • The README describes the preprocessing and split but does not provide executable instructions or specify a splitting method.
  • The original dataset contains 253 images and is imbalanced: 155 tumorous and 98 non-tumorous.
  • Augmentation is described as a separate notebook stage; this guide does not detail how to perform it.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
MohamedAliHabib/Brain-Tumor-Detection · Official homepage title · retained in its source language