🔬 Revolutionizing Lung Cancer Detection with AI
LungScan-AI is a state-of-the-art medical imaging platform that harnesses the power of deep learning to detect lung cancer with 97.03% accuracy. By analyzing chest X-rays in seconds, it provides healthcare professionals with rapid, reliable insights for early cancer detection and improved patient outcomes.
- High Accuracy: 97.03% accurate in detecting lung cancer variants
- Instant Analysis: Get comprehensive results in seconds
- Smart Reporting: Detailed medical reports with actionable insights
- User-Friendly: Intuitive interface for healthcare professionals
- High Accuracy: 97.03% accurate in detecting lung cancer variants
- Instant Analysis: Get comprehensive results in seconds
- Smart Reporting: Detailed medical reports with actionable insights
- User-Friendly: Intuitive interface for healthcare professionals
Here's a preview of the LungScan-AI application interface:
User registration interface for secure access
X-ray upload and analysis interface showing probability distribution
Detailed analysis results with key findings and recommendations
- Upload and analyze chest X-ray images
- Detect three types of conditions:
- Normal
- Squamous Cell Carcinoma
- Adenocarcinoma
- Detailed medical report generation
- Interactive visualization of results
- User registration and history tracking
- Python 3.11+
- Streamlit for web interface
- PyTorch for deep learning (ResNet18)
- SQLite for database
- Follow the installation steps above
- Run the application using
streamlit run src/app.py - Access the application at
http://localhost:8501
- Push your code to GitHub
- Visit share.streamlit.io
- Connect your GitHub repository
- Select src/app.py as the main file
- Deploy
├── src/
│ ├── app.py # Main Streamlit application
│ ├── config.py # Configuration settings
│ ├── data_preprocessing.py # Data preprocessing utilities
│ ├── train.py # Model training script
│ └── database.py # Database operations
├── models/
│ └── lung_cancer_detector.pth # Trained model
├── data/
│ └── train/ # Training data directory
├── requirements.txt # Python dependencies
└── README.md # This file
- Accuracy: 97.03%
- Supports detection of three classes
- Based on ResNet18 architecture
- User data is stored securely in a local database
- X-ray images are processed locally
- No data is shared with external services
- Never commit
.streamlit/secrets.tomlto version control - Use environment variables or secrets management for sensitive data
- For Streamlit Cloud deployment, configure secrets in the Streamlit Cloud dashboard
- Regularly rotate passwords and access credentials
- Monitor access logs for suspicious activity
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Copyright 2024 LungScan-AI