|
a |
|
b/README.md |
|
|
1 |
# Blood Cancer Detection from Peripheral Blood Smear Images |
|
|
2 |
## Using Deep Learning and Streamlit Interface |
|
|
3 |
|
|
|
4 |
### Abstract |
|
|
5 |
This project implements an automated system for detecting and classifying blood cancer (lymphoma) from peripheral blood smear (PBS) images using deep learning techniques. The system provides a user-friendly web interface built with Streamlit, allowing medical professionals to upload PBS images and receive instant predictions about the presence and severity of lymphoma. |
|
|
6 |
|
|
|
7 |
### 1. Introduction |
|
|
8 |
#### 1.1 Background |
|
|
9 |
Blood cancer, particularly lymphoma, is a serious condition that requires early detection for effective treatment. Traditional manual microscopic examination of peripheral blood smears is time-consuming and subject to human error. This project aims to automate and enhance the detection process using artificial intelligence. |
|
|
10 |
|
|
|
11 |
#### 1.2 Objectives |
|
|
12 |
- Develop an automated system for blood cancer detection from PBS images |
|
|
13 |
- Create a user-friendly interface for medical professionals |
|
|
14 |
- Provide quick and accurate predictions for early diagnosis |
|
|
15 |
- Reduce the manual effort required in PBS analysis |
|
|
16 |
|
|
|
17 |
### 2. Methodology |
|
|
18 |
#### 2.1 Data Collection and Preprocessing |
|
|
19 |
- Collection of PBS image dataset |
|
|
20 |
- Image preprocessing techniques applied: |
|
|
21 |
- Normalization |
|
|
22 |
- Resizing |
|
|
23 |
- Augmentation (if applicable) |
|
|
24 |
|
|
|
25 |
#### 2.2 Model Architecture |
|
|
26 |
- Description of the deep learning model used |
|
|
27 |
- Network architecture details |
|
|
28 |
- Training parameters and optimization techniques |
|
|
29 |
|
|
|
30 |
#### 2.3 System Implementation |
|
|
31 |
- Technologies used: |
|
|
32 |
- Python for model development |
|
|
33 |
- Deep learning framework (TensorFlow/PyTorch) |
|
|
34 |
- Streamlit for web interface |
|
|
35 |
- System workflow: |
|
|
36 |
1. Image upload through web interface |
|
|
37 |
2. Image preprocessing |
|
|
38 |
3. Model prediction |
|
|
39 |
4. Result display |
|
|
40 |
|
|
|
41 |
### 3. User Interface |
|
|
42 |
The system features a Streamlit-based web interface with the following components: |
|
|
43 |
- Image upload section |
|
|
44 |
- Preview of uploaded image |
|
|
45 |
- Prediction results display |
|
|
46 |
- Confidence scores |
|
|
47 |
- Visual indicators for severity levels |
|
|
48 |
|
|
|
49 |
### 4. Results and Performance |
|
|
50 |
#### 4.1 Model Performance Metrics |
|
|
51 |
- Accuracy |
|
|
52 |
- Precision |
|
|
53 |
- Recall |
|
|
54 |
- F1-Score |
|
|
55 |
- Confusion Matrix |
|
|
56 |
|
|
|
57 |
#### 4.2 System Benefits |
|
|
58 |
- Rapid detection capabilities |
|
|
59 |
- Reduced manual examination time |
|
|
60 |
- Consistent and objective analysis |
|
|
61 |
- Easy-to-use interface |
|
|
62 |
- Immediate results availability |
|
|
63 |
|
|
|
64 |
### 5. Future Enhancements |
|
|
65 |
- Integration with hospital management systems |
|
|
66 |
- Mobile application development |
|
|
67 |
- Enhanced visualization features |
|
|
68 |
- Support for multiple types of blood cancers |
|
|
69 |
- Real-time analysis capabilities |
|
|
70 |
|
|
|
71 |
### 6. Conclusion |
|
|
72 |
This project demonstrates the successful implementation of an automated blood cancer detection system using deep learning and modern web technologies. The system provides medical professionals with a powerful tool for quick and accurate lymphoma detection from PBS images. |
|
|
73 |
|
|
|
74 |
### Appendix |
|
|
75 |
#### A. Technical Requirements |
|
|
76 |
- Python 3.x |
|
|
77 |
- Streamlit |
|
|
78 |
- Deep Learning Framework |
|
|
79 |
- Required Python packages: |
|
|
80 |
``` |
|
|
81 |
streamlit |
|
|
82 |
tensorflow/pytorch |
|
|
83 |
opencv-python |
|
|
84 |
numpy |
|
|
85 |
pillow |
|
|
86 |
``` |
|
|
87 |
|
|
|
88 |
#### B. Installation and Usage Instructions |
|
|
89 |
1. Clone the repository |
|
|
90 |
2. Install required packages |
|
|
91 |
3. Run the Streamlit application |
|
|
92 |
4. Upload PBS image |
|
|
93 |
5. View results |
|
|
94 |
|