hari3485 commited on
Commit
4929e2b
·
verified ·
1 Parent(s): 28924a8

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +4 -4
pages/Data Collection.py CHANGED
@@ -970,7 +970,7 @@ def video_details_page():
970
 
971
  # Use st.markdown to display the explanation
972
 
973
- st.markdown("<h3 style='text-align: left; color: #FF00FF;'>Understanding `vid.read()`</h3>", unsafe_allow_html=True)
974
 
975
 
976
  st.markdown("""
@@ -982,7 +982,7 @@ def video_details_page():
982
  2. **`img`**: The actual frame (image) from the video, which is in the form of a NumPy array. This image can then be processed just like any regular picture.
983
  """)
984
 
985
- st.markdown("<h3 style='text-align: left; color: #FF00FF;'>Understanding `cv2.waitkey()`</h3>", unsafe_allow_html=True)
986
 
987
  st.markdown("""
988
 
@@ -1006,7 +1006,7 @@ def video_details_page():
1006
  break
1007
  """,language="python")
1008
 
1009
- st.markdown("<h3 style='text-align: center; color: #FF00FF;'>Converting BGR Video to Grayscale</h3>", unsafe_allow_html=True)
1010
 
1011
 
1012
 
@@ -1134,7 +1134,7 @@ def video_details_page():
1134
  """, language="python")
1135
 
1136
 
1137
- st.markdown("<h3 style='text-align: left; color: #ffa500;'>Dual Webcam Stream `Color vs Grayscale Capture`</h3>", unsafe_allow_html=True)
1138
 
1139
  st.markdown("""
1140
  - 1. The first webcam displays the original video feed from the camera.
 
970
 
971
  # Use st.markdown to display the explanation
972
 
973
+ st.markdown("<h3 style='text-align: left; color: #FF00FF;'>Understanding vid.read()</h3>", unsafe_allow_html=True)
974
 
975
 
976
  st.markdown("""
 
982
  2. **`img`**: The actual frame (image) from the video, which is in the form of a NumPy array. This image can then be processed just like any regular picture.
983
  """)
984
 
985
+ st.markdown("<h3 style='text-align: left; color: #FF00FF;'>Understanding cv2.waitkey()</h3>", unsafe_allow_html=True)
986
 
987
  st.markdown("""
988
 
 
1006
  break
1007
  """,language="python")
1008
 
1009
+ st.markdown("<h3 style='text-align: left; color: #FF00FF;'>Converting BGR Video to Grayscale</h3>", unsafe_allow_html=True)
1010
 
1011
 
1012
 
 
1134
  """, language="python")
1135
 
1136
 
1137
+ st.markdown("<h3 style='text-align: left; color: #ffa500;'>Dual Webcam Stream Color vs Grayscale Capture</h3>", unsafe_allow_html=True)
1138
 
1139
  st.markdown("""
1140
  - 1. The first webcam displays the original video feed from the camera.