A comprehensive full-stack application for medical image analysis, specializing in bone and tumor detection using advanced deep learning techniques. This system is designed to assist medical professionals in automating diagnostic workflows, improving efficiency, and enhancing patient care.
- U-Net Model Overview: Detailed explanation of the U-Net architecture, its application in this project, and code snippets for better understanding.
├── backend/ # Backend server implementation
│ ├── backend/ # Core backend code
│ │ ├── controller/ # Request handlers
│ │ ├── db/ # Database configurations
│ │ ├── middleware/ # Express middlewares
│ │ ├── models/ # Data models
│ │ ├── routes/ # API routes
│ └── utils/ # Utility functions
│ ├── python/ # Machine Learning components
│ │ ├── bone.py # Bone analysis model
│ │ ├── tumor.ipynb # Tumor detection notebook
│ │ └── app.py # Python API server
│ └── uploads/ # File upload directory
│
├── frontend/ # Frontend application
│ ├── public/ # Static assets
│ └── src/ # Source code
│
└── test images/ # Test images for model validation
- Bone Analysis and Detection: Provides accurate identification of bone-related abnormalities using deep learning models.
- Tumor Detection and Classification: Offers advanced tumor analysis with classification capabilities for improved diagnostic accuracy.
- Real-Time Image Processing: Ensures fast and efficient analysis of medical images.
- User-Friendly Web Interface: Features an intuitive and responsive design for seamless interaction.
- Secure File Upload System: Implements robust mechanisms to ensure data privacy and integrity.
Ensure the following dependencies are installed before proceeding:
- Node.js for backend and frontend development.
- Python 3.x for machine learning components.
- PyTorch for implementing deep learning models.
- MongoDB for database management.
Navigate to the backend directory and install the required dependencies:
cd backend
npm installNavigate to the frontend directory and install the required dependencies:
cd frontend
npm installNavigate to the Python directory and install the required Python packages:
cd backend/python
pip install -r requirements.txt- Create a
.envfile in thebackenddirectory. - Configure the following settings:
- MongoDB connection string for database integration.
- Kaggle API credentials for accessing datasets used in training and validation.
Run the backend server using the following command:
cd backend
npm startRun the frontend development server using the following command:
cd frontend
npm run devRun the Python server for machine learning components using the following command:
cd backend/python
python app.py- Register and log in to the platform.
- Navigate to the "Scan Reports" section.
- Enter the patient's details, including name and phone number.
- Upload test images:
- For brain tumor detection, select images from the "brain tumor" folder.
- For bone tumor detection, select images from the "bone tumor" folder.
Important: Avoid using compressed or noisy images (e.g., Google images) as they may negatively impact detection accuracy.
- Backend: Built using Express.js for handling API requests and server-side logic.
- Frontend: Developed with React and Vite for a modern and responsive user interface.
- Machine Learning Models: Implemented using PyTorch for high-performance deep learning.
- Database: MongoDB for efficient and scalable data storage.
A collection of sample test images for validating the machine learning models is available in the test images/ folder.
This platform is specifically designed to assist medical professionals by automating diagnostic processes, reducing manual effort, and improving the accuracy and speed of medical image analysis.