Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +14 -2
pages/Data Collection.py
CHANGED
|
@@ -294,9 +294,9 @@ elif st.session_state.current_page == "explore_images_video":
|
|
| 294 |
|
| 295 |
st.write("""
|
| 296 |
<div style="text-align: left; margin-top: 20px;">
|
| 297 |
-
<h3 style="color: #5b2c6f;">Why is an Image Called a Grid-Like Structure
|
| 298 |
<p style="font-size: 16px; color: #333;">
|
| 299 |
-
Images are called **grid-like structures because they are composed of **pixels** arranged in rows and columns,
|
| 300 |
forming a rectangular grid. Each **pixel** contains information about **shape**, **color**, and **patterns**, which
|
| 301 |
together define the image's content.
|
| 302 |
The total number of **pixels** is determined by the image's height and width (resolution), and a higher resolution provides better clarity.
|
|
@@ -343,6 +343,18 @@ elif st.session_state.current_page == "explore_images_video":
|
|
| 343 |
# Display the plot
|
| 344 |
st.pyplot(fig)
|
| 345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 346 |
|
| 347 |
# Go Back Button
|
| 348 |
if st.button("Go Back"):
|
|
|
|
| 294 |
|
| 295 |
st.write("""
|
| 296 |
<div style="text-align: left; margin-top: 20px;">
|
| 297 |
+
<h3 style="color: #5b2c6f;">Why is an Image Called a Grid-Like Structure?</h3>
|
| 298 |
<p style="font-size: 16px; color: #333;">
|
| 299 |
+
Images are called **grid-like structures** because they are composed of **pixels** arranged in rows and columns,
|
| 300 |
forming a rectangular grid. Each **pixel** contains information about **shape**, **color**, and **patterns**, which
|
| 301 |
together define the image's content.
|
| 302 |
The total number of **pixels** is determined by the image's height and width (resolution), and a higher resolution provides better clarity.
|
|
|
|
| 343 |
# Display the plot
|
| 344 |
st.pyplot(fig)
|
| 345 |
|
| 346 |
+
st.write("""
|
| 347 |
+
<div style="text-align: left; margin-top: 20px;">
|
| 348 |
+
<h3 style="color: #5b2c6f;">What are color spaces?🎥✨</h3>
|
| 349 |
+
<p style="font-size: 16px; color: #333;">
|
| 350 |
+
|
| 351 |
+
</p>
|
| 352 |
+
</div>
|
| 353 |
+
""", unsafe_allow_html=True)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
|
| 358 |
|
| 359 |
# Go Back Button
|
| 360 |
if st.button("Go Back"):
|