panik's picture
Create app.py
2c21767
raw
history blame
305 Bytes
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()