Update app.py
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ def image_inference(image):
|
|
185 |
right += left
|
186 |
cv2.rectangle(annotatedImage, (top, bottom), (left, right), (255, 0, 0), 5)
|
187 |
|
188 |
-
return Image.fromarray(annotatedImage, mode = 'RGB'),
|
189 |
# return frameWrapper( rawfaces, ages, genders, beards, blurs, ethncities, masks )
|
190 |
def video_inference(video_path):
|
191 |
|
|
|
185 |
right += left
|
186 |
cv2.rectangle(annotatedImage, (top, bottom), (left, right), (255, 0, 0), 5)
|
187 |
|
188 |
+
return Image.fromarray(annotatedImage, mode = 'RGB'), frameWrapper( rawfaces, ages, genders, beards, blurs, ethncities, masks )
|
189 |
# return frameWrapper( rawfaces, ages, genders, beards, blurs, ethncities, masks )
|
190 |
def video_inference(video_path):
|
191 |
|