Phaneendrabayi commited on
Commit
89c33a3
·
verified ·
1 Parent(s): b3e292f

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +1 -1
pages/Life_cycle_of_ML.py CHANGED
@@ -555,7 +555,7 @@ def More():
555
  # Set the blue and green channels to zero to keep only the red channel
556
  r_only = cv2.merge((b*0, g*0, r))
557
 
558
- merged_image_rgb = cv2.cvtColor(merged_image, cv2.COLOR_BGR2RGB)
559
 
560
  # Display the individual channels and manipulated images
561
  st.image(b_only, caption="Red Channel Only")
 
555
  # Set the blue and green channels to zero to keep only the red channel
556
  r_only = cv2.merge((b*0, g*0, r))
557
 
558
+ merged_image_rgb = cv2.cvtColor(merged_image, cv2.COLOR_RGB2BGR)
559
 
560
  # Display the individual channels and manipulated images
561
  st.image(b_only, caption="Red Channel Only")