Update pages/Life_cycle_of_ML.py
Browse files
pages/Life_cycle_of_ML.py
CHANGED
|
@@ -545,7 +545,7 @@ def More():
|
|
| 545 |
g_only = cv2.merge((b*0, g, r*0))
|
| 546 |
|
| 547 |
# Set the blue and green channels to zero to keep only the red channel
|
| 548 |
-
r_only = cv2.merge((b*0, g*0,
|
| 549 |
|
| 550 |
# Display the individual channels and manipulated images
|
| 551 |
st.image(b_only, caption="Blue Channel Only")
|
|
|
|
| 545 |
g_only = cv2.merge((b*0, g, r*0))
|
| 546 |
|
| 547 |
# Set the blue and green channels to zero to keep only the red channel
|
| 548 |
+
r_only = cv2.merge((b*0, g*0, r))
|
| 549 |
|
| 550 |
# Display the individual channels and manipulated images
|
| 551 |
st.image(b_only, caption="Blue Channel Only")
|