Breast Cancer Classifier

An interactive demo of a deep learning model deployed on Google Cloud as a serverless API.

Classifier Controls

or select a pre-loaded sample

Image preview will appear here

Note: The initial request may take up to 20 seconds to process due to a serverless function "cold start." Subsequent predictions will be near-instant.

Model Information

How to Get Accurate Results

This classifier was trained on the BreaKHis dataset and performs best under specific conditions. For an accurate prediction, please use images that are:

  • High Resolution: Clear, uncompressed histopathology slides.
  • 400x Magnification: The model is specifically optimized for images captured at this magnification factor.
  • Standard Staining: Images should use standard Hematoxylin and Eosin (H&E) staining.

Results for images with different parameters (e.g., 100x magnification, different stains) may be unreliable.

About This Demo

This application is a practical demonstration of a full MLOps pipeline. The trained Keras/TensorFlow model is served via a FastAPI backend, containerized with Docker, and deployed on Google Cloud Run, allowing for a scalable, serverless inference API.

Disclaimer

This tool is for educational and technical demonstration purposes only. It is not a medical device and should not be used for actual medical diagnosis.