Skip to content

πŸ“ΈΒ Β Camera input live

Submitted by Zachary Blackwood

Summary

A camera input that updates a variable number of seconds

Docstring

Visit the PyPI page for more information.

Examples

example

def example():
    st.write("# See a new image every second")
    controls = st.checkbox("Show controls")
    image = camera_input_live(show_controls=controls)
    if image is not None:
        st.image(image)