MrSinan commited on
Commit
e123d07
·
1 Parent(s): 1445130

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -625,7 +625,7 @@ def ExecutePipline(img):
625
  # plt.imshow(org_img)
626
  errorPNG=cv2.imread('error.jpg',)
627
  errorPNG=errorPNG[...,::-1]
628
- img2=extract_face(org_img,incr=110)
629
 
630
 
631
  cropped = np.array(img2)
@@ -633,7 +633,7 @@ def ExecutePipline(img):
633
  open_cv_image = cropped[:, :, ::-1].copy()
634
  masked1=maskThisImages(open_cv_image)
635
  if len(masked1)==0:
636
- img2=extract_face(org_img,incr=150)
637
 
638
 
639
  cropped = np.array(img2)
 
625
  # plt.imshow(org_img)
626
  errorPNG=cv2.imread('error.jpg',)
627
  errorPNG=errorPNG[...,::-1]
628
+ img2=extract_face(org_img,incr=150)
629
 
630
 
631
  cropped = np.array(img2)
 
633
  open_cv_image = cropped[:, :, ::-1].copy()
634
  masked1=maskThisImages(open_cv_image)
635
  if len(masked1)==0:
636
+ img2=extract_face(org_img,incr=165)
637
 
638
 
639
  cropped = np.array(img2)