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:

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
stream not working, help? (kindly appreciate)

please post complete code.


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62