Giter Club home page Giter Club logo

simple_mjpeg_streamer_http_server's Introduction

simple_mjpeg_streamer_http_server's People

Contributors

n3wtron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simple_mjpeg_streamer_http_server's Issues

Strict Compliance to MIME multi-part content

Need CRLF surrounding the boundary:

self.wfile.write("\r\n--jpgboundary\r\n")

The end boundary marker at the end of a MIME part has to have two dashes in front of the boundary that was specified in the Content-Type so remove the extraneous dashes in Content-Type (or add two more dashes when writing the boundary in the message).

self.send_header('Content-type','multipart/x-mixed-replace; boundary=jpgboundary')

Now the message is much closer to the standard and should work on most or all browsers.

For no dependencies using only Python 3 and openCV 3 (but unfortunately also includes simplified logic with the HTML section removed and with example drawing commands and some other camera hints added) look at my posting in the associated Gist https://gist.github.com/n3wtron/4624820

Another handy list when setting the camera properties is all the openCV properties. Print everything or limit your lists of the openCV goodies.

import cv2
events = [i for i in dir(cv2) if 'PROP' in i]
print(events)
events = [i for i in dir(cv2) if 'EVENT' in i]
print(events)
events = [i for i in dir(cv2)]
print(events)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.