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
Release history Release notifications | RSS feed
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
Close
Hashes for streamserver-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fba620d633826e78ddeb7cb158be92b0b9ab1427c2a152d42e4537e4490d4492 |
|
MD5 | 29c5d140644f788cdf3a4df2a0dbdac7 |
|
BLAKE2b-256 | d38bc56e34cf4e50fc1bbbf4bcc8ce7ec8faea546cf3b2453913e3203215a74a |