SS8297 commited on
Commit
9aab27b
·
1 Parent(s): 668fbfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def extract_features(landmarks, face):
123
  features = [math.dist(landmarks[33], landmark) for landmark in landmarks] + [face[2] - face[0], face[3] - face[1]]
124
  return features
125
 
126
- def image_processing(frame):
127
  return proc_image(img, detector) if recog else img
128
 
129
  def video_frame_callback(frame):
 
123
  features = [math.dist(landmarks[33], landmark) for landmark in landmarks] + [face[2] - face[0], face[3] - face[1]]
124
  return features
125
 
126
+ def image_processing(img):
127
  return proc_image(img, detector) if recog else img
128
 
129
  def video_frame_callback(frame):