Spaces:
Runtime error
Runtime error
changed threshold
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ class UI():
|
|
| 55 |
self.nb_faces = 3
|
| 56 |
|
| 57 |
# Important to set. If higher than this distance, the face is considered unknown
|
| 58 |
-
self.threshold =
|
| 59 |
self.faces_db_preprocessed_path = Path(__file__).parent/"faces_db_preprocessed"
|
| 60 |
self.current_name = None
|
| 61 |
self.current_face_files = []
|
|
|
|
| 55 |
self.nb_faces = 3
|
| 56 |
|
| 57 |
# Important to set. If higher than this distance, the face is considered unknown
|
| 58 |
+
self.threshold = 3e-1
|
| 59 |
self.faces_db_preprocessed_path = Path(__file__).parent/"faces_db_preprocessed"
|
| 60 |
self.current_name = None
|
| 61 |
self.current_face_files = []
|