Skip to content

Instantly share code, notes, and snippets.

@shubham0204
Created June 22, 2022 12:09
Show Gist options
  • Save shubham0204/a5acecabc7b496cc620dceadff7f8072 to your computer and use it in GitHub Desktop.
Save shubham0204/a5acecabc7b496cc620dceadff7f8072 to your computer and use it in GitHub Desktop.
import streamlit as st
import cv2
import numpy as np
import requests
# Title of the app
st.title( 'Mobile Camera Preview in Streamlit' )
# An empty image container that will hold the frames we'll fetch from the server
frame_window = st.image( [] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment