Siyun He commited on
Commit
dcd46eb
·
1 Parent(s): 59fe7ab
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -33,8 +33,6 @@ def count_files_in_directory(directory):
33
 
34
  # Determine face shape
35
  def determine_face_shape(landmarks):
36
- # Example logic to determine face shape based on landmarks
37
- # This is a simplified version and may need adjustments
38
  jaw_width = np.linalg.norm(landmarks[0] - landmarks[16])
39
  face_height = np.linalg.norm(landmarks[8] - landmarks[27])
40
  if jaw_width / face_height > 1.5:
 
33
 
34
  # Determine face shape
35
  def determine_face_shape(landmarks):
 
 
36
  jaw_width = np.linalg.norm(landmarks[0] - landmarks[16])
37
  face_height = np.linalg.norm(landmarks[8] - landmarks[27])
38
  if jaw_width / face_height > 1.5: