Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,8 +26,8 @@ def preprocess_image_svm(img):
|
|
| 26 |
|
| 27 |
def extract_hog_features(img):
|
| 28 |
hog_features = hog(img, orientations=9,
|
| 29 |
-
pixels_per_cell=(
|
| 30 |
-
cells_per_block=(
|
| 31 |
return hog_features
|
| 32 |
|
| 33 |
def get_face(img):
|
|
|
|
| 26 |
|
| 27 |
def extract_hog_features(img):
|
| 28 |
hog_features = hog(img, orientations=9,
|
| 29 |
+
pixels_per_cell=(16, 16),
|
| 30 |
+
cells_per_block=(4, 4))
|
| 31 |
return hog_features
|
| 32 |
|
| 33 |
def get_face(img):
|