Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def generate(path: str):
|
|
95 |
blob = cv2.dnn.blobFromImage(image, 1.0, (300, 300),(104.0, 177.0, 123.0))
|
96 |
|
97 |
# pass the blob through the network and obtain the face detections
|
98 |
-
|
99 |
net.setInput(blob)
|
100 |
detections = net.forward()
|
101 |
|
|
|
95 |
blob = cv2.dnn.blobFromImage(image, 1.0, (300, 300),(104.0, 177.0, 123.0))
|
96 |
|
97 |
# pass the blob through the network and obtain the face detections
|
98 |
+
|
99 |
net.setInput(blob)
|
100 |
detections = net.forward()
|
101 |
|