Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +1 -4
pages/Data Collection.py
CHANGED
|
@@ -910,10 +910,7 @@ elif st.session_state.current_page == "image_operations":
|
|
| 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 |
-
# Converting a Grayscale image to RGB
|
| 915 |
-
rgb_img = cv2.cvtColor(gray_image, cv2.COLOR_GRAY2BGR) # Convert from Grayscale to BGR
|
| 916 |
-
""", language="python")
|
| 917 |
|
| 918 |
st.write("""
|
| 919 |
In the next section, we will dive into **video processing using OpenCV**. We will explore how to:
|
|
|
|
| 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("""
|
| 916 |
In the next section, we will dive into **video processing using OpenCV**. We will explore how to:
|