Skip to main content

Server to stream multi-part images over HTTP

Project description

Multipart Image HTTP Streaming Server.

Install:

pip install git+ssh://git@bitbucket-server.alexandra.dk:7999/~soren.rasmussen/streamserver.git

or

pip install streamserver

Example:

import cv2
import streamserver
cap = cv2.VideoCapture(0)

ret,_ = cap.read()
assert ret == True

with streamserver.StreamServer(JPEG_quality=75,host='localhost',port=5000) as ss:
    while cap.isOpened():
        ret,frame = cap.read()
        ss.set_frame(frame)
        wk = cv2.waitKey(20)
        if wk == ord('q'):
            break
cap.release()

or

ss-imageio

TODO:

  • Multiple streams on same server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

streamserver-0.4.0-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page