mirror of
https://github.com/bendtherules/pytry.git
synced 2026-08-18 22:03:03 +00:00
IP Updates
This commit is contained in:
+4
-4
@@ -1,10 +1,10 @@
|
||||
import SimpleCV as s
|
||||
import time
|
||||
#cam=s.Camera()
|
||||
cam=s.JpegStreamCamera(r"192.168.173.227:8080/videofeed")
|
||||
cam=s.Camera()
|
||||
#cam=s.JpegStreamCamera(r"192.168.173.227:8080/videofeed")
|
||||
c1=time.clock()
|
||||
while True:
|
||||
img=cam.getImage().show()
|
||||
for a in range(200):
|
||||
img=cam.getImage()#.show()
|
||||
c2=time.clock()
|
||||
print(1/(c1-c2))
|
||||
c1=c2
|
||||
Reference in New Issue
Block a user