picamera stream inside a python framework (web.py) - Raspberry Pi Forums
hi everyone,
has tried integrate picamera stream custom python framework (like: web.py, django or flask) ?
have rest service within web.py framework , i'd integrate if i'm doing webcam path (http://raspberry-pi-camera/webcam) stream of picamera stream.
found https://gist.github.com/nioto/9343730 can't figure out make work, picamera started (the led of camera on) , using code:
stream not working, help? (kindly appreciate)
has tried integrate picamera stream custom python framework (like: web.py, django or flask) ?
have rest service within web.py framework , i'd integrate if i'm doing webcam path (http://raspberry-pi-camera/webcam) stream of picamera stream.
found https://gist.github.com/nioto/9343730 can't figure out make work, picamera started (the led of camera on) , using code:
code: select all
class camhandler(): def get(self): web.status = 200 web.header('content-type','text/html') page = "<html><head></head><body><img src='/cam.mjpg' alt='' title=''/></body></html>" return page
please post complete code.
raspberrypi
Comments
Post a Comment