facedetect / app_basic.py
ngupta949's picture
Rename app.py to app_basic.py
13ea726 verified
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()