Spaces:
Sleeping
Sleeping
axvg
commited on
Commit
·
1dd5ec4
1
Parent(s):
738ed99
fix
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from io import BytesIO
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
def buscar_existe(image):
|
13 |
-
existe =
|
14 |
print("resultado: ", image.shape)
|
15 |
eyeglasses_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
|
16 |
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
def buscar_existe(image):
|
13 |
+
existe = False
|
14 |
print("resultado: ", image.shape)
|
15 |
eyeglasses_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
|
16 |
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|