Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Spencer Phillip Young spyoungtech

💭
I may be slow to respond.
View GitHub Profile
@spyoungtech
spyoungtech / simple_mjpeg_streamer_http_server
Created May 11, 2017 — forked from n3wtron/simple_mjpeg_streamer_http_server
Simple Python Motion Jpeg (mjpeg server) from webcam. Using: OpenCV,BaseHTTPServer
View simple_mjpeg_streamer_http_server
#!/usr/bin/python
'''
Author: Igor Maculan - n3wtron@gmail.com
A Simple mjpg stream http server
'''
import cv2
import Image
import threading
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
from SocketServer import ThreadingMixIn