Spaces:
Sleeping
Sleeping
Commit
•
e72b044
1
Parent(s):
260fcb5
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def draw_mishigs(image, results):
|
|
31 |
def mishig_me(image):
|
32 |
with mp_face_detection.FaceDetection(
|
33 |
model_selection=1,
|
34 |
-
min_detection_confidence=0.
|
35 |
|
36 |
# Convert the BGR image to RGB and process it with MediaPipe Face Mesh.
|
37 |
results = face_detection.process(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
|
|
|
31 |
def mishig_me(image):
|
32 |
with mp_face_detection.FaceDetection(
|
33 |
model_selection=1,
|
34 |
+
min_detection_confidence=0.01) as face_detection:
|
35 |
|
36 |
# Convert the BGR image to RGB and process it with MediaPipe Face Mesh.
|
37 |
results = face_detection.process(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
|