mirror of
https://github.com/bendtherules/pytry.git
synced 2026-08-19 00:33:47 +00:00
All the previous files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import SimpleCV as s
|
||||
import time
|
||||
#cam=s.Camera()
|
||||
cam=s.JpegStreamCamera(r"192.168.173.227:8080/videofeed")
|
||||
c1=time.clock()
|
||||
while True:
|
||||
img=cam.getImage().show()
|
||||
c2=time.clock()
|
||||
print(1/(c1-c2))
|
||||
c1=c2
|
||||
Reference in New Issue
Block a user