Update pages/Life_cycle_of_ML.py
Browse files
pages/Life_cycle_of_ML.py
CHANGED
|
@@ -548,9 +548,9 @@ def More():
|
|
| 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="
|
| 552 |
st.image(g_only, caption="Green Channel Only")
|
| 553 |
-
st.image(r_only, caption="
|
| 554 |
st.image(cv2.cvtColor(merged_image, cv2.COLOR_BGR2RGB), caption="Manipulated Image (Swapped Channels)")
|
| 555 |
|
| 556 |
st.code("""
|
|
|
|
| 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="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("""
|