Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackary/streamlit-camera-input-live
Alternative version of st.camera_input which returns the webcam images live, without any button press needed
https://github.com/blackary/streamlit-camera-input-live
Last synced: 6 days ago
JSON representation
Alternative version of st.camera_input which returns the webcam images live, without any button press needed
- Host: GitHub
- URL: https://github.com/blackary/streamlit-camera-input-live
- Owner: blackary
- License: mit
- Created: 2022-09-27T14:39:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T17:38:12.000Z (25 days ago)
- Last Synced: 2024-10-27T22:16:20.657Z (19 days ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 33
- Watchers: 1
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-camera-input-live
[![PyPI version](https://img.shields.io/pypi/v/streamlit-camera-input-live.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/streamlit-camera-input-live/)
[![PyPI downloads](https://img.shields.io/pypi/dm/streamlit-camera-input-live.svg)](https://pypistats.org/packages/streamlit-camera-input-live)
[![GitHub](https://img.shields.io/github/license/blackary/streamlit-camera-input-live.svg)](LICENSE)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)Alternative version of st.camera_input which returns the webcam images live, without any button press needed
[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://camera.streamlitapp.com)
## Installation instructions
```sh
pip install streamlit-camera-input-live
```## Usage instructions
```python
import streamlit as stfrom camera_input_live import camera_input_live
image = camera_input_live()
if image:
st.image(image)
```