hari3485 commited on
Commit
4a0f836
·
verified ·
1 Parent(s): 5d6e7b1

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +7 -4
pages/Data Collection.py CHANGED
@@ -1023,7 +1023,7 @@ def video_details_page():
1023
  st.code("""
1024
  if cv2.waitKey(1)& 255 == ord("q"):
1025
  break
1026
- """)
1027
 
1028
  st.markdown("""
1029
  "<h3 style='text-align: center; color: #FF0000;'>Converting BGR Video to Grayscale
@@ -1194,7 +1194,9 @@ def video_details_page():
1194
  break
1195
 
1196
  cv2.destroyAllWindows()
1197
- """)
 
 
1198
  st.markdown("""
1199
  "<h3 style='text-align: center; color: #ffa500;'> Webcam Stream with RGB Channel Separation
1200
  </h3>",
@@ -1236,7 +1238,8 @@ def video_details_page():
1236
  break
1237
 
1238
  cv2.destroyAllWindows()
1239
- """)
 
1240
 
1241
  st.markdown("""
1242
  "<h3 style='text-align: center; color: #ffa500;'>Webcam Frame Capture and Save
@@ -1275,7 +1278,7 @@ def video_details_page():
1275
 
1276
 
1277
  cv2.destroyAllWindows()
1278
- """)
1279
 
1280
 
1281
 
 
1023
  st.code("""
1024
  if cv2.waitKey(1)& 255 == ord("q"):
1025
  break
1026
+ """,language="python")
1027
 
1028
  st.markdown("""
1029
  "<h3 style='text-align: center; color: #FF0000;'>Converting BGR Video to Grayscale
 
1194
  break
1195
 
1196
  cv2.destroyAllWindows()
1197
+ """,language = "python")
1198
+
1199
+
1200
  st.markdown("""
1201
  "<h3 style='text-align: center; color: #ffa500;'> Webcam Stream with RGB Channel Separation
1202
  </h3>",
 
1238
  break
1239
 
1240
  cv2.destroyAllWindows()
1241
+
1242
+ """,language="python")
1243
 
1244
  st.markdown("""
1245
  "<h3 style='text-align: center; color: #ffa500;'>Webcam Frame Capture and Save
 
1278
 
1279
 
1280
  cv2.destroyAllWindows()
1281
+ """,language = "python")
1282
 
1283
 
1284