Skip to content

Instantly share code, notes, and snippets.

View hydraslay's full-sized avatar
🎮
Asobing

hydraslay hydraslay

🎮
Asobing
  • Tokyo
  • 07:26 (UTC +09:00)
View GitHub Profile
@nioto
nioto / PiCameraStream
Created March 4, 2014 10:14
Simple MJpeg streamer for Raspberri Pi Camera
#!/usr/bin/python
'''
A Simple mjpg stream http server for the Raspberry Pi Camera
inspired by https://gist.github.com/n3wtron/4624820
'''
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
import io
import time
import picamera