-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1_Home_Page.py
More file actions
128 lines (106 loc) Β· 3.62 KB
/
Copy path1_Home_Page.py
File metadata and controls
128 lines (106 loc) Β· 3.62 KB
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
import streamlit as st
# Page configuration
st.set_page_config(
page_title="Structural Defect Detection", page_icon="π", layout="wide"
)
# Header section with title and subtitle
st.title("ποΈ Structural Defect Detection AI")
st.subheader("AI for Structural/Chemical Engineering")
# Create columns for better layout
col1, col2 = st.columns([2, 1])
with col1:
st.markdown(
"""
### π Project Overview
This AI system detects structural defects from image data to assist in maintenance and inspection of infrastructure.
The model can identify various types of structural flaws including cracks, corrosion, and other defects that
may compromise structural integrity.
### π― Key Objectives
- Develop a deep learning model to recognize structural flaws in photos with high accuracy
- Enable confident identification of defect types (rust, cracks, etc.)
- Improve automation of structural inspections
- Reduce maintenance costs and increase safety through early detection
### π‘ Key Features
- Multi-class defect classification
- Support for image, video, and real-time analysis
- High-resolution drone photography compatibility
- Confidence scoring for detected defects
"""
)
with col2:
st.markdown(
"""
### π¨βπ» Team Members
- Nathan Vu
- Xuan Tuan Minh Nguyen
### Contributors
- Aidid Yassin
- Leon Nhor
- Matthew Hadkins
### π§ Technology Stack
- Python & Streamlit
- Deep Learning (YOLOv8)
- Computer Vision Libraries
- Roboflow
"""
)
# Navigation section
st.markdown("---")
st.header("π How to Use This Application")
st.markdown(
"""
### Navigation Instructions
This application offers three different ways to detect structural defects:
1. **πΌοΈ Image Analysis**
- Navigate to the "Image Prediction" page in the sidebar
- Upload your structural images
- Get instant analysis of potential defects
2. **π¬ Video Analysis**
- Select the "Video Prediction" page
- Upload video footage of structures
- Receive frame-by-frame defect detection
3. **πΉ Webcam Analysis**
- Go to the "Webcam Prediction" page
- Enable your camera when prompted
- Point your camera at structures for real-time analysis
Select your preferred method from the sidebar navigation menu above βοΈ
"""
)
# Additional project information
st.markdown("---")
st.header("π Additional Information")
# Create three columns for additional info
col1, col2, col3 = st.columns(3)
with col1:
st.subheader("Research Background")
st.markdown(
"""
Our research focuses on applying computer vision and deep learning to automate structural inspections,
which have traditionally been labor-intensive and sometimes dangerous manual processes.
"""
)
with col2:
st.subheader("Model Training")
st.markdown(
"""
The AI models were trained on thousands of annotated images of various structural defects
across different infrastructure types including bridges, buildings, and industrial facilities.
"""
)
with col3:
st.subheader("Future Development")
st.markdown(
"""
Future versions will include severity scoring, maintenance recommendations,
and integration with structural monitoring systems for continuous assessment.
"""
)
# Navigation sidebar
with st.sidebar:
st.title("Navigation")
st.success("Select a page above to begin detection")
# Project stats
st.subheader("Project Stats")
col1, col2 = st.columns(2)
col1.metric("βοΈ Models", "2")
col2.metric("πΌοΈ Dataset", "3k+ images")