Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aivclab/streamserver
Python library to stream images/video to a browser or a jupyter notebook
https://github.com/aivclab/streamserver
python streaming video
Last synced: about 1 month ago
JSON representation
Python library to stream images/video to a browser or a jupyter notebook
- Host: GitHub
- URL: https://github.com/aivclab/streamserver
- Owner: aivclab
- License: apache-2.0
- Created: 2019-03-05T12:16:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T07:05:33.000Z (over 4 years ago)
- Last Synced: 2024-05-21T03:19:19.395Z (7 months ago)
- Topics: python, streaming, video
- Language: Python
- Homepage: https://pypi.org/project/streamserver/
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Multipart Image HTTP Streaming Server.
## Install:
```
pip install git+git://github.com/aivclab/streamserver.git
```## Example:
```
import cv2
import streamserver
cap = cv2.VideoCapture(0)ret,_ = cap.read()
assert ret == Truewith 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()
```
## TODO:
- [ ] Multiple streams on same server?