sree4411 commited on
Commit
b8b914d
ยท
verified ยท
1 Parent(s): 632883d

Update pages/3_Life Cycle Of ML Project.py

Browse files
pages/3_Life Cycle Of ML Project.py CHANGED
@@ -186,7 +186,7 @@ elif st.session_state.page == "unstructured_data":
186
  st.session_state.page = "introduction_to_image"
187
 
188
  # ----------------- Introduction to Image -----------------
189
- def introduction_to_image_page():
190
  st.header("๐Ÿ–ผ๏ธ What is Image")
191
  st.markdown("""
192
  An image is a two-dimensional visual representation of objects, people, scenes, or concepts. It can be captured using devices like cameras, scanners, or created digitally. Images are composed of individual units called pixels, which contain information about brightness and color.
@@ -260,7 +260,7 @@ Common Color Spaces:
260
  # ---------- OPERATIONS USING OPENCV --------------------------------
261
 
262
 
263
- def operations_using_opencv_page():
264
  # Header and description for cv2.imread
265
  st.header("๐Ÿ—‚๏ธ Reading an Image with cv2.imread()")
266
  st.markdown("""
@@ -344,7 +344,7 @@ def operations_using_opencv_page():
344
  ##------------CONVERSION OF IMAGE-----------------
345
 
346
 
347
- def Conversion_of_Images_page():
348
  # Header for Image Conversion
349
  st.header("๐Ÿ”„ Converting Images Between Different Color Spaces")
350
 
@@ -468,7 +468,7 @@ def Conversion_of_Images_page():
468
 
469
  #---------VIDEO CAPTURE AND EXPLANATION OF CV2.WAITKEY-----------
470
 
471
- def Video_capture_and_explanation_page():
472
  st.header("๐ŸŽฅ Video Capture with `cv2.VideoCapture()`")
473
 
474
  st.markdown("""
@@ -601,7 +601,7 @@ This explanation provides both the purpose and practical use cases of `cv2.Video
601
 
602
 
603
 
604
- def affine_transformation_matrix():
605
  # Header for Affine Transformation Matrix
606
  st.header("Affine Transformation Matrix")
607
 
 
186
  st.session_state.page = "introduction_to_image"
187
 
188
  # ----------------- Introduction to Image -----------------
189
+ elif st.session_state.page == "Introduction_to_image":
190
  st.header("๐Ÿ–ผ๏ธ What is Image")
191
  st.markdown("""
192
  An image is a two-dimensional visual representation of objects, people, scenes, or concepts. It can be captured using devices like cameras, scanners, or created digitally. Images are composed of individual units called pixels, which contain information about brightness and color.
 
260
  # ---------- OPERATIONS USING OPENCV --------------------------------
261
 
262
 
263
+ elif st.session_state.page == "operations_using_opencv":
264
  # Header and description for cv2.imread
265
  st.header("๐Ÿ—‚๏ธ Reading an Image with cv2.imread()")
266
  st.markdown("""
 
344
  ##------------CONVERSION OF IMAGE-----------------
345
 
346
 
347
+ elif st.session_state.page == "operations_using_opencv":
348
  # Header for Image Conversion
349
  st.header("๐Ÿ”„ Converting Images Between Different Color Spaces")
350
 
 
468
 
469
  #---------VIDEO CAPTURE AND EXPLANATION OF CV2.WAITKEY-----------
470
 
471
+ elif st.session_state.page == "Video_capture_and_explanation_page":
472
  st.header("๐ŸŽฅ Video Capture with `cv2.VideoCapture()`")
473
 
474
  st.markdown("""
 
601
 
602
 
603
 
604
+ elif st.session_state.page == "affine_transformation_matrix":
605
  # Header for Affine Transformation Matrix
606
  st.header("Affine Transformation Matrix")
607