Update pages/How to handle Videos.py
Browse files
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(
|
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 |
"""
|