AIMLjan25f / app.py
sarwansingh's picture
Create app.py
dea614a verified
raw
history blame
353 Bytes
import gradio as gr
def detect_faces(image ) :
# detect faces
return image
iface = gr.Interface( fn=detect_faces,
inputs="image",
outputs="image",
title="Face Detection using Haar Cascade Classifier ",
description="Upload an image,and the model will detect faces and draw bounding boxes around them.",
)
iface.launch()