Update pages/Life_cycle_of_ML.py
Browse files
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.
|
| 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")
|