No project description provided
Project description
streamlit-webrtc
Example 
You can try out the sample app using the following commands.
$ pip install streamlit-webrtc opencv-python-headless matplotlib pydub
$ streamlit run https://raw.githubusercontent.com/whitphx/streamlit-webrtc-example/main/app.py
You can also try it out on Streamlit Sharing.
The deployment of this sample app is managed in this repository: https://github.com/whitphx/streamlit-webrtc-example/.
API
Currently there is no documentation about the interface. See the example app.py for the usage. The API is not finalized yet and can be changed without backward compatiblity in the future releases until v1.0.
For users since versions <0.20
VideoTransformerBase and its transform method have been marked as deprecated in v0.20.0. Please use VideoProcessorBase#recv() instead.
Note that the signature of the recv method is different from the transform in that the recv has to return an instance of av.VideoFrame or av.AudioFrame. See the samples in app.py.
Resources
- Building a Web-Based Real-Time Computer Vision App with Streamlit (dev.to)
- This post explains how to use
streamlit-webrtcto build a real-time computer vision app.
- This post explains how to use
- New Component: streamlit-webrtc, a new way to deal with real-time media streams (Streamlit Community)
- This is a forum topic where
streamlit-webrtchas been introduced and discussed about.
- This is a forum topic where
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit-webrtc-0.27.0.tar.gz.
File metadata
- Download URL: streamlit-webrtc-0.27.0.tar.gz
- Upload date:
- Size: 867.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4684fd65679f86007f0ff99436e93a36efefaf47038744fc03a18cf25655f56
|
|
| MD5 |
592d580f54ca52e7fb5ccd0fc5d38c17
|
|
| BLAKE2b-256 |
af4e3e2d31702ca53975adff45af4888d6d82058fb9018cd9501d15de6767a3c
|
File details
Details for the file streamlit_webrtc-0.27.0-py3-none-any.whl.
File metadata
- Download URL: streamlit_webrtc-0.27.0-py3-none-any.whl
- Upload date:
- Size: 880.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c07779188a6ef3bd1be78502cc7fbedc04e4635c8a6a0a95d70598b2843cba75
|
|
| MD5 |
4231424300101ad6fc62c655d9f8bf23
|
|
| BLAKE2b-256 |
10f2b8ab4c2bfdd9c2df325a8549047a15a28e62a570b9d5fd5f10e584fbe08e
|