-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33ec4d3
commit 89d38eb
Showing
15 changed files
with
2,396 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import cv2 | ||
import numpy as np | ||
url = raw_input("Please enter the address of the IP webcam : ") | ||
finalurl = "http://"+url+"/video" | ||
cap = cv2.VideoCapture(finalurl) | ||
while(True): | ||
ret, frame = cap.read() | ||
if frame is not None: | ||
cv2.imshow('frame',frame) | ||
q = cv2.waitKey(1) | ||
if q == ord("q"): | ||
break | ||
cv2.destroyAllWindows() |
Binary file not shown.
Oops, something went wrong.