File size: 8,708 Bytes
957df8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI Diabetic Retinopathy Detection</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 40px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 300;
        }
        
        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .content {
            padding: 40px;
        }
        
        .demo-section {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .demo-section h2 {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.8rem;
        }
        
        .demo-section p {
            color: #666;
            margin-bottom: 25px;
            font-size: 1.1rem;
            line-height: 1.6;
        }
        
        .demo-button {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .demo-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .feature-card p {
            color: #666;
            line-height: 1.6;
        }
        
        .github-section {
            background: #24292e;
            color: white;
            padding: 40px;
            text-align: center;
            border-radius: 15px;
        }
        
        .github-section h2 {
            margin-bottom: 20px;
            font-size: 1.8rem;
        }
        
        .github-section p {
            margin-bottom: 25px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        .github-button {
            display: inline-block;
            background: #28a745;
            color: white;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            margin: 0 10px;
        }
        
        .github-button:hover {
            background: #218838;
            transform: translateY(-2px);
        }
        
        .medical-disclaimer {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 10px;
            padding: 20px;
            margin: 30px 0;
            text-align: center;
        }
        
        .medical-disclaimer h3 {
            color: #856404;
            margin-bottom: 10px;
        }
        
        .medical-disclaimer p {
            color: #856404;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }
            
            .content {
                padding: 20px;
            }
            
            .features {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>πŸ”¬ AI Diabetic Retinopathy Detection</h1>
            <p>Advanced deep learning system for early detection of diabetic retinopathy from OCT images</p>
        </div>
        
        <div class="content">
            <div class="demo-section">
                <h2>πŸš€ Live Demo</h2>
                <p>Experience our AI-powered diabetic retinopathy detection system in action. Upload OCT images and get instant analysis with Grad-CAM visualizations.</p>
                <a href="http://192.168.18.28:7860" class="demo-button" target="_blank">Launch Live Demo</a>
            </div>
            
            <div class="features">
                <div class="feature-card">
                    <div class="feature-icon">πŸ€–</div>
                    <h3>AI-Powered Analysis</h3>
                    <p>State-of-the-art ResNet-50 model trained on extensive OCT image datasets for accurate diabetic retinopathy detection.</p>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">πŸ”₯</div>
                    <h3>Grad-CAM Visualization</h3>
                    <p>Advanced explainable AI technology that highlights the specific areas of OCT images that influence the AI's diagnosis.</p>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">πŸ“Š</div>
                    <h3>Confidence Scoring</h3>
                    <p>Get detailed confidence scores and probability assessments for each diagnosis, ensuring reliable results.</p>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">πŸ’Ύ</div>
                    <h3>Result Storage</h3>
                    <p>Automatically save analyzed images with timestamps, predictions, and confidence scores for future reference.</p>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">πŸ”„</div>
                    <h3>Batch Processing</h3>
                    <p>Process multiple OCT images simultaneously with comprehensive CSV reporting and batch analysis capabilities.</p>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🌐</div>
                    <h3>Web Interface</h3>
                    <p>User-friendly Gradio web interface accessible from any device with a modern web browser.</p>
                </div>
            </div>
            
            <div class="medical-disclaimer">
                <h3>⚠️ Medical Disclaimer</h3>
                <p>This tool is for research and educational purposes only. It should not be used for actual medical diagnosis without proper validation and clinical oversight. Always consult with qualified healthcare professionals for medical diagnosis and treatment decisions.</p>
            </div>
            
            <div class="github-section">
                <h2>πŸ“š Open Source Project</h2>
                <p>This project is completely open source and available on GitHub. Contribute, fork, or star the repository to support the development of AI-powered medical imaging tools.</p>
                <a href="https://github.com/yourusername/Deep_Learning_for_Ophthalmologist" class="github-button" target="_blank">View on GitHub</a>
                <a href="https://github.com/yourusername/Deep_Learning_for_Ophthalmologist/fork" class="github-button" target="_blank">Fork Project</a>
            </div>
        </div>
    </div>
</body>
</html>