AbdulWasay0029/AI_Powered_Medical_Image_Analysis — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple AI medical image analysis web app for detecting pneumonia in chest X ray images.

I want a Python app where I can download the Kaggle chest X ray pneumonia dataset, train a basic CNN model, evaluate it, then open a local web page and upload an X ray image to get a clear result saying Normal or Pneumonia. Keep it beginner friendly and make the whole flow easy to run on my computer.

Use Python with TensorFlow and Keras for the model, and Flask for the upload page. The model should resize images, convert them to grayscale, normalize them, and use a small CNN good enough for a demo. Include scripts to preview the dataset, train the model, evaluate accuracy with a confusion matrix, and run the web app.

Please also include setup instructions, requirements, and make sure it works with Python 3.10 or 3.11. If you need details about current TensorFlow or Kaggle setup, look them up online.

Want more depth? Deep Reverse