LakshmiHarika commited on
Commit
f8ae00f
·
verified ·
1 Parent(s): 387eaca

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +33 -0
pages/Data Collection.py CHANGED
@@ -1233,6 +1233,39 @@ elif st.session_state.current_page == "video_processing":
1233
  cv2.destroyAllWindows()
1234
  """, language="python")
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1236
 
1237
 
1238
  elif st.session_state.current_page == "explore_audio":
 
1233
  cv2.destroyAllWindows()
1234
  """, language="python")
1235
 
1236
+ # Concluding the Current Section
1237
+ st.write("""
1238
+ In the next section, we will explore **image transformations using OpenCV**. We will cover how to:
1239
+ - Rotate images at various angles.
1240
+ - Flip images horizontally and vertically.
1241
+ - Scale and resize images to different dimensions.
1242
+
1243
+ Get ready to learn about powerful image transformation techniques!
1244
+ """)
1245
+
1246
+ col1, col2, col3 = st.columns(3)
1247
+
1248
+ # Column 1 - Button to go back to the Image Operations page
1249
+ with col1:
1250
+ if st.button("⬅️ Explore Image Creation and Manipulation"):
1251
+ navigate_to("image_operations") # Navigates to the Image Operations page
1252
+
1253
+ # Column 2 - Button for the main page (Images & Videos)
1254
+ with col2:
1255
+ if st.button("📸 Images & Videos"):
1256
+ navigate_to("explore_images_video") # Main page: Images & Videos
1257
+
1258
+ # Column 3 - Button to go to the Image Transformations page
1259
+ with col3:
1260
+ if st.button("➡️ Image Transformations with OpenCV"):
1261
+ navigate_to("image_transformations") # Next page: Image Transformations
1262
+
1263
+ elif st.session_state.current_page == "image_transformations":
1264
+ # Content for Image Transformations Page
1265
+ st.markdown("""
1266
+ <h2 style="color: #9400d3;">Image Transformations with OpenCV</h2>
1267
+ """, unsafe_allow_html=True)
1268
+
1269
 
1270
 
1271
  elif st.session_state.current_page == "explore_audio":