File size: 305 Bytes
2c21767
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr
import cv2

def process_image(img):
  blur = cv2.blur(img,(5,5))
  return blur

interface = gr.Interface(
  fn = process_image,
  #inputs='image',
  inputs="webcam",
  outputs='image',
  title='Facial Expression',
  description='Facial expression detection test')
  
interface.launch()