Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +48 -31
pages/Data Collection.py
CHANGED
|
@@ -185,12 +185,19 @@ if st.session_state.current_page == "main":
|
|
| 185 |
""", unsafe_allow_html=True)
|
| 186 |
|
| 187 |
st.write("Click to explore Unstructured Data Formats:")
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
|
| 195 |
elif data_type == "Semi-Structured Data":
|
| 196 |
st.markdown("""
|
|
@@ -241,14 +248,23 @@ if st.session_state.current_page == "main":
|
|
| 241 |
""", unsafe_allow_html=True)
|
| 242 |
|
| 243 |
st.write("Click to explore Semi-Structured Data Formats:")
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
|
| 253 |
# Pages for Each Format
|
| 254 |
elif st.session_state.current_page == "explore_excel":
|
|
@@ -481,16 +497,20 @@ elif st.session_state.current_page == "explore_images_video":
|
|
| 481 |
- Understand the **core operations** used in computer vision.
|
| 482 |
- Transform images to uncover hidden insights.
|
| 483 |
|
| 484 |
-
Curious to see how?👇Click
|
| 485 |
""")
|
| 486 |
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
|
|
|
|
|
|
|
|
|
| 493 |
|
|
|
|
| 494 |
elif st.session_state.current_page == "opencv_operations":
|
| 495 |
# Introduction to OpenCV Page
|
| 496 |
st.markdown("""
|
|
@@ -655,25 +675,22 @@ elif st.session_state.current_page == "opencv_operations":
|
|
| 655 |
- **Splitting images** into individual channels.
|
| 656 |
- **Converting images** between various color spaces.
|
| 657 |
|
| 658 |
-
Curious to learn more?👇Click
|
| 659 |
""")
|
| 660 |
|
| 661 |
-
# Navigation Buttons
|
| 662 |
-
st.write("### Navigate to Other Sections")
|
| 663 |
col1, col2, col3 = st.columns(3)
|
| 664 |
|
| 665 |
with col1:
|
| 666 |
-
if st.button("
|
| 667 |
-
navigate_to("
|
| 668 |
|
| 669 |
with col2:
|
| 670 |
-
if st.button("
|
| 671 |
-
navigate_to("
|
| 672 |
|
| 673 |
with col3:
|
| 674 |
-
if st.button("➡️
|
| 675 |
-
navigate_to("image_operations")
|
| 676 |
-
|
| 677 |
|
| 678 |
|
| 679 |
|
|
|
|
| 185 |
""", unsafe_allow_html=True)
|
| 186 |
|
| 187 |
st.write("Click to explore Unstructured Data Formats:")
|
| 188 |
+
col1, col2, col3 = st.columns(3)
|
| 189 |
+
|
| 190 |
+
with col1:
|
| 191 |
+
if st.button("📸 Images & Videos"):
|
| 192 |
+
navigate_to("explore_images_video")
|
| 193 |
+
|
| 194 |
+
with col2:
|
| 195 |
+
if st.button("🎵 Audio"):
|
| 196 |
+
navigate_to("explore_audio")
|
| 197 |
+
|
| 198 |
+
with col3:
|
| 199 |
+
if st.button("✍️ Text"):
|
| 200 |
+
navigate_to("explore_text")
|
| 201 |
|
| 202 |
elif data_type == "Semi-Structured Data":
|
| 203 |
st.markdown("""
|
|
|
|
| 248 |
""", unsafe_allow_html=True)
|
| 249 |
|
| 250 |
st.write("Click to explore Semi-Structured Data Formats:")
|
| 251 |
+
col1, col2, col3, col4 = st.columns(4)
|
| 252 |
+
|
| 253 |
+
with col1:
|
| 254 |
+
if st.button("📄 CSV"):
|
| 255 |
+
navigate_to("explore_csv")
|
| 256 |
+
|
| 257 |
+
with col2:
|
| 258 |
+
if st.button("📋 JSON"):
|
| 259 |
+
navigate_to("explore_json")
|
| 260 |
+
|
| 261 |
+
with col3:
|
| 262 |
+
if st.button("📜 XML"):
|
| 263 |
+
navigate_to("explore_xml")
|
| 264 |
+
|
| 265 |
+
with col4:
|
| 266 |
+
if st.button("🌐 HTML"):
|
| 267 |
+
navigate_to("explore_html")
|
| 268 |
|
| 269 |
# Pages for Each Format
|
| 270 |
elif st.session_state.current_page == "explore_excel":
|
|
|
|
| 497 |
- Understand the **core operations** used in computer vision.
|
| 498 |
- Transform images to uncover hidden insights.
|
| 499 |
|
| 500 |
+
Curious to see how?👇Click `Image Operations with OpenCV` to start your journey into OpenCV Basics!🚀
|
| 501 |
""")
|
| 502 |
|
| 503 |
+
col1, col2 = st.columns(2)
|
| 504 |
+
|
| 505 |
+
with col1:
|
| 506 |
+
if st.button("⬅️ Back to Previous Page"):
|
| 507 |
+
navigate_to("main")
|
| 508 |
+
|
| 509 |
+
with col2:
|
| 510 |
+
if st.button("➡️ Image Operations with OpenCV"):
|
| 511 |
+
navigate_to("opencv_operations")
|
| 512 |
|
| 513 |
+
|
| 514 |
elif st.session_state.current_page == "opencv_operations":
|
| 515 |
# Introduction to OpenCV Page
|
| 516 |
st.markdown("""
|
|
|
|
| 675 |
- **Splitting images** into individual channels.
|
| 676 |
- **Converting images** between various color spaces.
|
| 677 |
|
| 678 |
+
Curious to learn more?👇Click `Explore Image Creation and Manipulation` to continue your journey with OpenCV! 🚀
|
| 679 |
""")
|
| 680 |
|
|
|
|
|
|
|
| 681 |
col1, col2, col3 = st.columns(3)
|
| 682 |
|
| 683 |
with col1:
|
| 684 |
+
if st.button("📸 Images & Videos"):
|
| 685 |
+
navigate_to("explore_images_video") # Main page: Images & Videos
|
| 686 |
|
| 687 |
with col2:
|
| 688 |
+
if st.button("⬅️ Image Operations with OpenCV"):
|
| 689 |
+
navigate_to("opencv_operations") # Previous page: Image Operations with OpenCV
|
| 690 |
|
| 691 |
with col3:
|
| 692 |
+
if st.button("➡️ Explore Image Creation and Manipulation"):
|
| 693 |
+
navigate_to("image_operations")
|
|
|
|
| 694 |
|
| 695 |
|
| 696 |
|