Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
imaneralo
/
demo1
like
0
Runtime error
App
Files
Files
Community
1
main
demo1
/
cam.py
AkshatJain1402
v0.0.1
4e39fb3
5 months ago
raw
Copy download link
history
blame
contribute
delete
No virus
140 Bytes
import
cv2
as
cv
import
numpy
as
n
cap=cv.VideoCapture(
0
)
while
True
:
success,img=cap.read()
cv.imshow(
"Video"
,img)
cv2.waitKey(
1
)