Atualli commited on
Commit
9bf4d27
·
1 Parent(s): b0780d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -106,6 +106,8 @@ def greet(image):
106
  #sharpened = unsharp_mask(image)
107
  #image = increase_brightness(sharpened, value=10) # 60 ->5qoOk.png #10 -> if8nC.png
108
 
 
 
109
  norm_img = np.zeros((image.shape[0], image.shape[1]))
110
  image = cv2.normalize(image, norm_img, 0, 255, cv2.NORM_MINMAX)
111
 
 
106
  #sharpened = unsharp_mask(image)
107
  #image = increase_brightness(sharpened, value=10) # 60 ->5qoOk.png #10 -> if8nC.png
108
 
109
+ image = cv2.resize(image, (720,480), interpolation=cv2.INTER_LINEAR)
110
+
111
  norm_img = np.zeros((image.shape[0], image.shape[1]))
112
  image = cv2.normalize(image, norm_img, 0, 255, cv2.NORM_MINMAX)
113