Harika22 commited on
Commit
da86e53
·
verified ·
1 Parent(s): 2a4a68b

Update pages/7_Unstructured_data.py

Browse files
Files changed (1) hide show
  1. pages/7_Unstructured_data.py +7 -7
pages/7_Unstructured_data.py CHANGED
@@ -331,15 +331,15 @@ if file_type == "IMAGE":
331
  st.subheader('**Splitting and Merging Channels**')
332
  st.markdown("""
333
  - **Splitting Channels**: Use `cv2.split()` to separate the image into individual channels (B, G, R).
334
-
335
- ```python
336
- blue, green, red = cv2.split(image)
337
- ```
338
  - **Merging Channels**: Combine individual channels back into a single image using `cv2.merge()`.
339
 
340
- ```python
341
- merged_image = cv2.merge((blue, green, red))
342
- ```
343
  """, unsafe_allow_html=True)
344
 
345
 
 
331
  st.subheader('**Splitting and Merging Channels**')
332
  st.markdown("""
333
  - **Splitting Channels**: Use `cv2.split()` to separate the image into individual channels (B, G, R).
334
+
335
+ ```python
336
+ blue, green, red = cv2.split(image)
337
+ ```
338
  - **Merging Channels**: Combine individual channels back into a single image using `cv2.merge()`.
339
 
340
+ ```python
341
+ merged_image = cv2.merge((blue, green, red))
342
+ ```
343
  """, unsafe_allow_html=True)
344
 
345