fix btn
Browse files
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)
|