Phaneendrabayi commited on
Commit
fcd010b
·
verified ·
1 Parent(s): cce5a2b

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +2 -2
pages/Life_cycle_of_ML.py CHANGED
@@ -551,14 +551,14 @@ def More():
551
  st.image(b_only, caption="Red Channel Only")
552
  st.image(g_only, caption="Green Channel Only")
553
  st.image(r_only, caption="Blue Channel Only")
554
- st.image(cv2.cvtColor(merged_image, cv2.COLOR_BGR2RGB), caption="Manipulated Image (Swapped Channels)")
555
 
556
  st.code("""
557
  # Display individual channels and manipulated image
558
  st.image(b, caption="Blue Channel", use_column_width=True, channels="GRAY")
559
  st.image(g, caption="Green Channel", use_column_width=True, channels="GRAY")
560
  st.image(r, caption="Red Channel", use_column_width=True, channels="GRAY")
561
- st.image(cv2.cvtColor(merged_image, cv2.COLOR_BGR2RGB), caption="Manipulated Image (Swapped Channels)", use_column_width=True)
562
  """, language="python")
563
 
564
  st.write("These operations help in extracting and analyzing features from images!")
 
551
  st.image(b_only, caption="Red Channel Only")
552
  st.image(g_only, caption="Green Channel Only")
553
  st.image(r_only, caption="Blue Channel Only")
554
+ st.image(cv2.cvtColor(merged_image, cv2.COLOR_RGB2BGR), caption="Manipulated Image (Swapped Channels)")
555
 
556
  st.code("""
557
  # Display individual channels and manipulated image
558
  st.image(b, caption="Blue Channel", use_column_width=True, channels="GRAY")
559
  st.image(g, caption="Green Channel", use_column_width=True, channels="GRAY")
560
  st.image(r, caption="Red Channel", use_column_width=True, channels="GRAY")
561
+ st.image(cv2.cvtColor(merged_image, cv2.COLOR_RGB2BGR), caption="Manipulated Image (Swapped Channels)", use_column_width=True)
562
  """, language="python")
563
 
564
  st.write("These operations help in extracting and analyzing features from images!")