Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +1 -1
pages/Data Collection.py
CHANGED
|
@@ -909,7 +909,7 @@ elif st.session_state.current_page == "image_operations":
|
|
| 909 |
# Syntax example for cv2.cvtColor()
|
| 910 |
st.code("""
|
| 911 |
# Converting an RGB image to Grayscale
|
| 912 |
-
gray_img = cv2.cvtColor(rgb_image, cv2.COLOR_BGR2GRAY) # Convert from BGR to Grayscale
|
| 913 |
|
| 914 |
|
| 915 |
st.write("""
|
|
|
|
| 909 |
# Syntax example for cv2.cvtColor()
|
| 910 |
st.code("""
|
| 911 |
# Converting an RGB image to Grayscale
|
| 912 |
+
gray_img = cv2.cvtColor(rgb_image, cv2.COLOR_BGR2GRAY)""", language="python") # Convert from BGR to Grayscale
|
| 913 |
|
| 914 |
|
| 915 |
st.write("""
|