Update pages/Life_cycle_of_ML.py
Browse files
pages/Life_cycle_of_ML.py
CHANGED
|
@@ -513,7 +513,7 @@ def More():
|
|
| 513 |
# Convert to Grayscale
|
| 514 |
st.subheader("2. What is Meant by Color Spaces?")
|
| 515 |
st.markdown(
|
| 516 |
-
"Color spaces define how colors are represented. Common ones include BGR, Grayscale, and HSV. Let's see the image in different color spaces! . By Using the `cv2.cvtColor()"
|
| 517 |
)
|
| 518 |
grayscale_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
| 519 |
hsv_image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)
|
|
|
|
| 513 |
# Convert to Grayscale
|
| 514 |
st.subheader("2. What is Meant by Color Spaces?")
|
| 515 |
st.markdown(
|
| 516 |
+
"Color spaces define how colors are represented. Common ones include BGR, Grayscale, and HSV. Let's see the image in different color spaces! . By Using the `cv2.cvtColor()` "
|
| 517 |
)
|
| 518 |
grayscale_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
| 519 |
hsv_image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)
|