Skip to content

Alternative version of st.camera_input which returns the webcam images live, without any button press needed

License

Notifications You must be signed in to change notification settings

blackary/streamlit-camera-input-live

Repository files navigation

streamlit-camera-input-live

PyPI version PyPI downloads GitHub Code style: Black

Alternative version of st.camera_input which returns the webcam images live, without any button press needed

Open in Streamlit

Installation instructions

pip install streamlit-camera-input-live

Usage instructions

import streamlit as st

from camera_input_live import camera_input_live

image = camera_input_live()

if image:
  st.image(image)