Spaces:
Sleeping
Sleeping
NTAMBARA Etienne
commited on
Commit
•
504280c
1
Parent(s):
0f31aa2
Changes Made Keys p3
Browse files
app1.py
CHANGED
@@ -72,9 +72,9 @@ def process_webcam_image(image):
|
|
72 |
# Gradio interface
|
73 |
iface = gr.Interface(
|
74 |
fn=recognize_face,
|
75 |
-
inputs=gr.Image(
|
76 |
outputs=[
|
77 |
-
gr.Image(
|
78 |
gr.JSON(label="Student Information")
|
79 |
],
|
80 |
title="Real-time Face Recognition Attendance System",
|
|
|
72 |
# Gradio interface
|
73 |
iface = gr.Interface(
|
74 |
fn=recognize_face,
|
75 |
+
inputs=gr.Image(tool="editor", source="webcam"),
|
76 |
outputs=[
|
77 |
+
gr.Image(),
|
78 |
gr.JSON(label="Student Information")
|
79 |
],
|
80 |
title="Real-time Face Recognition Attendance System",
|