Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,10 @@ def face_mask_detection(image):
|
|
49 |
|
50 |
return Image.fromarray(img)
|
51 |
|
|
|
|
|
|
|
|
|
52 |
gr.Interface(fn=face_mask_detection,
|
53 |
inputs=gr.Image(shape=(224, 224)),
|
54 |
outputs=gr.outputs.Image(type = "pil", label = "Output Image")).launch()
|
|
|
49 |
|
50 |
return Image.fromarray(img)
|
51 |
|
52 |
+
|
53 |
+
title = "Face-Masked Detection"
|
54 |
+
description = "This is an easy-to-use demo for detecting faces inside an image and then decide if they are wearing mask or not. MTCNN will be used for face-detection and EfficientNetB0 will be used for masked-classification."
|
55 |
+
|
56 |
gr.Interface(fn=face_mask_detection,
|
57 |
inputs=gr.Image(shape=(224, 224)),
|
58 |
outputs=gr.outputs.Image(type = "pil", label = "Output Image")).launch()
|