shwetashweta05 commited on
Commit
960f68e
·
verified ·
1 Parent(s): 53b1eaf

Update pages/How to handle Videos.py

Browse files
Files changed (1) hide show
  1. pages/How to handle Videos.py +1 -1
pages/How to handle Videos.py CHANGED
@@ -370,7 +370,7 @@ st.write("""
370
  st.write(":blue[**5. Save Images on Key Press**]")
371
  code="""
372
  if cv2.waitKey(1) & 255 == ord("s"):
373
- cv2.imwrite(r"C:\Users\Singh\Downloads\han_sign\{}.jpg".format(c), img)
374
  print("image have been captured")
375
  c += 1
376
  """
 
370
  st.write(":blue[**5. Save Images on Key Press**]")
371
  code="""
372
  if cv2.waitKey(1) & 255 == ord("s"):
373
+ cv2.imwrite("/home/user/han_sign"/{}.jpg".format(c), img)
374
  print("image have been captured")
375
  c += 1
376
  """