ankithpatel commited on
Commit
c9edecf
·
verified ·
1 Parent(s): 2b9b7c3

Update pages/Lifecycle of Machine Learning.py

Browse files
pages/Lifecycle of Machine Learning.py CHANGED
@@ -216,18 +216,63 @@ image.show()
216
  - Dimensionality Reduction and Feature Extraction
217
  """
218
  )
 
 
 
 
 
 
 
 
219
 
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
 
222
 
 
 
223
 
224
-
225
 
 
226
 
227
-
 
 
 
 
 
 
 
228
 
 
 
 
 
 
 
 
 
 
 
 
229
 
230
-
231
-
232
-
233
 
 
216
  - Dimensionality Reduction and Feature Extraction
217
  """
218
  )
219
+
220
+ elif format_selected == "VIDEO":
221
+
222
+ st.subheader("VIDEO Data Format")
223
+ st.write("*What is it?*")
224
+ st.write(
225
+ "PNG,GIF,BNP,RAW videos,TIFF "
226
+ )
227
 
228
 
229
+ st.write("*How to Read VIDEO Files?*")
230
+ st.code(
231
+
232
+ """
233
+
234
+
235
+ pip install opencv-python
236
+ import cv2
237
+
238
+ # Open the video file
239
+ video_path = 'path_to_your_video.mp4'
240
+ cap = cv2.VideoCapture(video_path)
241
+ """,
242
+ language="python"
243
+
244
+
245
+ )
246
+
247
+
248
+
249
 
250
 
251
+
252
+
253
 
 
254
 
255
+ st.write("*Common Issues When Handling vdeo Files*")
256
 
257
+ st.write(
258
+ """
259
+ - File not found or Corrupted.
260
+ - Incompatible Codec or Format.
261
+ - Performance Issues with Large Videos.
262
+ - Frame Dropping or Skipping.
263
+ """
264
+ )
265
 
266
+
267
+
268
+ st.write("*How to Overcome These Errors/Issues?*")
269
+ st.write(
270
+ """
271
+ - Ensure Correct File Path and Handle Corrupted Files.
272
+ - Install Missing Codecs or Use Supported Formats.
273
+ - Optimize Performance for Large Videos
274
+ - Control Frame Rate and Prevent Skipping
275
+ """
276
+ )
277
 
 
 
 
278