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
File details
Details for the file streamserver-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: streamserver-0.4.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fba620d633826e78ddeb7cb158be92b0b9ab1427c2a152d42e4537e4490d4492 |
|
MD5 | 29c5d140644f788cdf3a4df2a0dbdac7 |
|
BLAKE2b-256 | d38bc56e34cf4e50fc1bbbf4bcc8ce7ec8faea546cf3b2453913e3203215a74a |