Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,10 +56,6 @@ scale_slider = gr.components.Slider(minimum=1.1, maximum=2.0, value=1.3, step=0.
|
|
| 56 |
description = """Face Detection with Haar Cascades using OpenCV"""
|
| 57 |
|
| 58 |
|
| 59 |
-
Iface = gr.Interface(
|
| 60 |
-
fn=detect_faces,
|
| 61 |
-
inputs=[image, size_slider, neighbour_slider, scale_slider],
|
| 62 |
-
outputs=out_im,
|
| 63 |
#examples=[["data/9_Press_Conference_Press_Conference_9_86.jpg"], ["data/12_Group_Group_12_Group_Group_12_39.jpg"], ["data/31_Waiter_Waitress_Waiter_Waitress_31_55.jpg"]],
|
| 64 |
-
title="Haar Cascade Object Detection",
|
| 65 |
-
).launch()
|
|
|
|
| 56 |
description = """Face Detection with Haar Cascades using OpenCV"""
|
| 57 |
|
| 58 |
|
| 59 |
+
Iface = gr.Interface(fn=detect_faces,inputs=[image, size_slider, neighbour_slider, scale_slider],outputs=out_im,
|
|
|
|
|
|
|
|
|
|
| 60 |
#examples=[["data/9_Press_Conference_Press_Conference_9_86.jpg"], ["data/12_Group_Group_12_Group_Group_12_39.jpg"], ["data/31_Waiter_Waitress_Waiter_Waitress_31_55.jpg"]],
|
| 61 |
+
title="Haar Cascade Object Detection",).launch()
|
|
|