Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +19 -28
pages/Data Collection.py
CHANGED
|
@@ -1506,7 +1506,6 @@ elif st.session_state.current_page == "video_processing":
|
|
| 1506 |
|
| 1507 |
|
| 1508 |
elif st.session_state.current_page == "image_transformations":
|
| 1509 |
-
# Content for Image Transformations Page
|
| 1510 |
st.markdown("""
|
| 1511 |
<h2 style="color: #BB3385;">Image Augmentation Techniques</h2>
|
| 1512 |
""", unsafe_allow_html=True)
|
|
@@ -1819,41 +1818,33 @@ elif st.session_state.current_page == "image_transformations":
|
|
| 1819 |
""", language="python")
|
| 1820 |
|
| 1821 |
col1, col2 = st.columns(2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1822 |
|
| 1823 |
-
|
| 1824 |
-
|
| 1825 |
-
|
| 1826 |
-
|
| 1827 |
-
|
| 1828 |
-
|
| 1829 |
-
|
| 1830 |
-
</a>
|
| 1831 |
-
""", unsafe_allow_html=True)
|
| 1832 |
-
|
| 1833 |
-
with col2:
|
| 1834 |
-
if st.button("Main Page"):
|
| 1835 |
-
navigate_to("explore_images_video") # Main page: Images & Videos
|
| 1836 |
-
|
| 1837 |
-
# Second row: Previous Page and Next Page
|
| 1838 |
-
col3, col4 = st.columns(2)
|
| 1839 |
-
|
| 1840 |
-
with col3:
|
| 1841 |
-
if st.button("⬅️ Prev Page"):
|
| 1842 |
-
navigate_to("video_processing") # Previous page: Video Processing with OpenCV
|
| 1843 |
-
|
| 1844 |
-
with col4:
|
| 1845 |
-
if st.button("➡️ Next Page"):
|
| 1846 |
-
navigate_to("opencv_projects") # Next page: OpenCV Projects
|
| 1847 |
|
| 1848 |
|
| 1849 |
|
| 1850 |
-
|
| 1851 |
st.markdown("""
|
| 1852 |
<h2 style="color: #BB3385;">OpenCV Projects</h2>
|
| 1853 |
""", unsafe_allow_html=True)
|
| 1854 |
|
| 1855 |
-
|
| 1856 |
-
|
| 1857 |
# Project 1: Converting an Image into Tabular Data
|
| 1858 |
st.markdown("""
|
| 1859 |
<h3 style="color: #5b2c6f;">Converting an Image into Tabular Data</h3>
|
|
|
|
| 1506 |
|
| 1507 |
|
| 1508 |
elif st.session_state.current_page == "image_transformations":
|
|
|
|
| 1509 |
st.markdown("""
|
| 1510 |
<h2 style="color: #BB3385;">Image Augmentation Techniques</h2>
|
| 1511 |
""", unsafe_allow_html=True)
|
|
|
|
| 1818 |
""", language="python")
|
| 1819 |
|
| 1820 |
col1, col2 = st.columns(2)
|
| 1821 |
+
with col1:
|
| 1822 |
+
st.markdown("""
|
| 1823 |
+
<a href="https://colab.research.google.com/drive/19mQM-7VY0F0y9NyecrhbU5kyOY9j9oIk?usp=sharing" target="_blank">
|
| 1824 |
+
<button style="background-color: #4CAF50; color: white; padding: 10px; font-size: 16px; border: none; cursor: pointer;">
|
| 1825 |
+
Colab Notes
|
| 1826 |
+
</button>
|
| 1827 |
+
</a>
|
| 1828 |
+
""", unsafe_allow_html=True)
|
| 1829 |
+
with col2:
|
| 1830 |
+
if st.button("Main Page"):
|
| 1831 |
+
st.session_state.current_page = "explore_images_video"
|
| 1832 |
|
| 1833 |
+
col3, col4 = st.columns(2)
|
| 1834 |
+
with col3:
|
| 1835 |
+
if st.button("⬅️ Prev Page"):
|
| 1836 |
+
st.session_state.current_page = "video_processing"
|
| 1837 |
+
with col4:
|
| 1838 |
+
if st.button("➡️ Next Page"):
|
| 1839 |
+
st.session_state.current_page = "opencv_projects"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1840 |
|
| 1841 |
|
| 1842 |
|
| 1843 |
+
elif st.session_state.current_page == "opencv_projects":
|
| 1844 |
st.markdown("""
|
| 1845 |
<h2 style="color: #BB3385;">OpenCV Projects</h2>
|
| 1846 |
""", unsafe_allow_html=True)
|
| 1847 |
|
|
|
|
|
|
|
| 1848 |
# Project 1: Converting an Image into Tabular Data
|
| 1849 |
st.markdown("""
|
| 1850 |
<h3 style="color: #5b2c6f;">Converting an Image into Tabular Data</h3>
|