Commit ·
98bc878
1
Parent(s): eb6c9cc
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,8 +103,8 @@ if img_file_buffer is not None:
|
|
| 103 |
match_found = True # Set the flag to True
|
| 104 |
|
| 105 |
else:
|
| 106 |
-
# Face
|
| 107 |
-
st.error("Face
|
| 108 |
|
| 109 |
y1, x2, y2, x1 = faceLoc
|
| 110 |
y1, x2, y2, x1 = y1 * 4, x2 * 4, y2 * 4, x1 * 4
|
|
|
|
| 103 |
match_found = True # Set the flag to True
|
| 104 |
|
| 105 |
else:
|
| 106 |
+
# Face detected, but not matched with Aadhaar number
|
| 107 |
+
st.error("Face or Aadhaar number does not match.")
|
| 108 |
|
| 109 |
y1, x2, y2, x1 = faceLoc
|
| 110 |
y1, x2, y2, x1 = y1 * 4, x2 * 4, y2 * 4, x1 * 4
|