ozyman commited on
Commit
435d591
·
1 Parent(s): 0af0075
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def find_largest_face(faces):
104
  return largest_face
105
 
106
 
107
- def inference(img):
108
  grey = cv.cvtColor(img, cv.COLOR_BGR2GRAY)
109
  faces = faceClassifier.detectMultiScale(
110
  grey, scaleFactor=1.1, minNeighbors=4)
 
104
  return largest_face
105
 
106
 
107
+ def inference(img, btn_res):
108
  grey = cv.cvtColor(img, cv.COLOR_BGR2GRAY)
109
  faces = faceClassifier.detectMultiScale(
110
  grey, scaleFactor=1.1, minNeighbors=4)