Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import matplotlib.pyplot as plt
|
|
9 |
def generate_random_pile(num_points=50, max_height=10.0, noise=0.5):
|
10 |
"""
|
11 |
Generates a random 'pile shape' with a certain maximum height.
|
12 |
-
|
13 |
|
14 |
Args:
|
15 |
num_points (int): Number of discrete x-points to model the silo cross-section.
|
@@ -32,7 +32,7 @@ def generate_random_pile(num_points=50, max_height=10.0, noise=0.5):
|
|
32 |
def simulate_sensor_readings(x_array, height_array, sensor_type="LiDAR", num_sensors=5):
|
33 |
"""
|
34 |
Simulates sensor readings from the height array.
|
35 |
-
|
36 |
then record the height + some noise depending on sensor_type.
|
37 |
|
38 |
Args:
|
@@ -133,10 +133,9 @@ st.set_page_config(page_title="ITC PSPD - Wood Chip Silo Demo", layout="centered
|
|
133 |
st.title("Wood Chip Silo Monitoring - ITC PSPD Demo")
|
134 |
|
135 |
st.markdown("""
|
136 |
-
|
137 |
-
This is an
|
138 |
-
of wood chips in a silo, supporting
|
139 |
-
|
140 |
---
|
141 |
""")
|
142 |
|
|
|
9 |
def generate_random_pile(num_points=50, max_height=10.0, noise=0.5):
|
10 |
"""
|
11 |
Generates a random 'pile shape' with a certain maximum height.
|
12 |
+
shape it as a bell-curve-like mound plus random noise.
|
13 |
|
14 |
Args:
|
15 |
num_points (int): Number of discrete x-points to model the silo cross-section.
|
|
|
32 |
def simulate_sensor_readings(x_array, height_array, sensor_type="LiDAR", num_sensors=5):
|
33 |
"""
|
34 |
Simulates sensor readings from the height array.
|
35 |
+
randomly pick a few positions along x_array,
|
36 |
then record the height + some noise depending on sensor_type.
|
37 |
|
38 |
Args:
|
|
|
133 |
st.title("Wood Chip Silo Monitoring - ITC PSPD Demo")
|
134 |
|
135 |
st.markdown("""
|
136 |
+
Welcome to a simple demonstration of Wood-chip silo height profile Detection and Volume Estimation*.
|
137 |
+
This is an Industry 4.0 inspired solution to digitally track the height and volume
|
138 |
+
of wood chips in a silo, supporting paperboard and specialty paper operations at ITC PSPD.
|
|
|
139 |
---
|
140 |
""")
|
141 |
|