bit-guber commited on
Commit
46b7408
1 Parent(s): 5f8444c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'), {'facesLength':len(faces), 'faceMean':faces_mean }#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
 
 
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