The Medical Organ Classifier is a cutting-edge, AI-powered application designed to classify medical organ images with precision and ease. Leveraging advanced deep learning models 🧑💻, this tool delivers accurate predictions with confidence scores—all through an intuitive graphical interface 🎨. Built with TensorFlow/Keras, it offers flexibility for customization and expansion 🚀.
- 🔍 Load and utilize pre-trained TensorFlow/Keras models.
- 📂 Upload medical images and receive predictions with detailed confidence scores.
- 🖱️ User-friendly interface for seamless interaction.
- 🧠 Supports classification of multiple organs, including:
- Brain
- Hand
- Liver
- Lung
- 📊 Delivers results with confidence levels to ensure reliability.
- ➕ Easily extend functionality by adding new organ classes.
- 🛠️ Simply update the model and its corresponding JSON label file to support additional categories.
- 🤖 Powered by a TensorFlow/Keras pre-trained model.
- 📜 Outputs classes based on a JSON label file (e.g.,
organ_model.json). - Example JSON format for classification labels:
["Brain", "Hand", "Liver", "Lung"]
- 📘 Open the
Training_notebook.ipynbin thetraining/directory. - 📂 Prepare your dataset and follow the steps outlined in the notebook.
- 💾 Save the trained model as
organ_model.h5. - 📝 Update the
organ_model.jsonfile to match the output classes of the new model.
- 🐍 Python: Version 3.8 or higher.
- 🖥️ Git: To clone the repository.
-
Clone the Repository
git clone https://github.com/yourusername/MedicalOrganClassifier.git cd MedicalOrganClassifier -
Install Dependencies
pip install -r requirements.txt
-
Place the Model Files
- 🗂️ Add the pre-trained model file (e.g.,
organ_model.h5) to themodels/directory. - 📝 Ensure the
organ_model.jsonfile matches the class labels for the model and is placed in theapp/directory.
- 🗂️ Add the pre-trained model file (e.g.,
-
Run the Application
python app/main.py
- 📂 The model file (e.g.,
organ_model.h5) and label file (organ_model.json) must correspond. - ✅ Ensure the number of classes in the model matches the labels in the JSON file.
- ❌ Error During Prediction: Ensure the model and JSON file are compatible.
- 🔍 Verification: Use the "Load Model" feature in the app to confirm compatibility.
We ❤️ contributions to enhance this project! To contribute:
- Fork the repository.
- Create a feature branch.
- Submit a pull request with detailed information about your changes.
This project is licensed under the MIT License. Refer to the LICENSE file for more details.
This project was developed collaboratively by a dedicated team:
Thank you for using the Medical Organ Classifier! 🎉




