Ahsen Khaliq
commited on
Commit
•
a3a7081
1
Parent(s):
26c5242
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def inference(image):
|
|
29 |
mp_drawing.draw_landmarks(
|
30 |
image=annotated_image,
|
31 |
landmark_list=face_landmarks,
|
32 |
-
connections=mp_face_mesh.
|
33 |
landmark_drawing_spec=drawing_spec,
|
34 |
connection_drawing_spec=drawing_spec)
|
35 |
return annotated_image
|
|
|
29 |
mp_drawing.draw_landmarks(
|
30 |
image=annotated_image,
|
31 |
landmark_list=face_landmarks,
|
32 |
+
connections=mp_face_mesh.FACEMESH_CONTOURS,
|
33 |
landmark_drawing_spec=drawing_spec,
|
34 |
connection_drawing_spec=drawing_spec)
|
35 |
return annotated_image
|