NihalGazi commited on
Commit
415ed0d
·
verified ·
1 Parent(s): f3bbe6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -10,11 +10,10 @@ import os
10
  try:
11
  mp_face_mesh = mp.solutions.face_mesh
12
  face_mesh = mp_face_mesh.FaceMesh(
13
- static_image_mode=False,
14
  max_num_faces=1,
15
  refine_landmarks=True,
16
- min_detection_confidence=0.5,
17
- min_tracking_confidence=0.5
18
  )
19
  print("MediaPipe Face Mesh initialized successfully.")
20
  except (ImportError, AttributeError):
 
10
  try:
11
  mp_face_mesh = mp.solutions.face_mesh
12
  face_mesh = mp_face_mesh.FaceMesh(
13
+ static_image_mode=True,
14
  max_num_faces=1,
15
  refine_landmarks=True,
16
+ min_detection_confidence=0.5
 
17
  )
18
  print("MediaPipe Face Mesh initialized successfully.")
19
  except (ImportError, AttributeError):