import Image import streamlit as st picture = st.camera_input("First, take a picture...") inp = Image.open(picture) st.write(inp)