Skip to content

Commit

Permalink
Update stream_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hamuchiwa authored Aug 9, 2018
1 parent 23a07e0 commit bde406b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions raspberryPi/stream_client.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""
Reference:
PiCamera documentation
https://picamera.readthedocs.org/en/release-1.10/recipes2.html
"""

import io
import socket
Expand All @@ -20,7 +14,7 @@
try:
with picamera.PiCamera() as camera:
camera.resolution = (320, 240) # pi camera resolution
camera.framerate = 10 # 10 frames/sec
camera.framerate = 15 # 15 frames/sec
time.sleep(2) # give 2 secs for camera to initilize
start = time.time()
stream = io.BytesIO()
Expand Down

0 comments on commit bde406b

Please sign in to comment.