Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def greet(image):
|
|
107 |
#image = increase_brightness(sharpened, value=10) # 60 ->5qoOk.png #10 -> if8nC.png
|
108 |
|
109 |
|
110 |
-
|
111 |
|
112 |
norm_img = np.zeros((image.shape[0], image.shape[1]))
|
113 |
image = cv2.normalize(image, norm_img, 0, 255, cv2.NORM_MINMAX)
|
|
|
107 |
#image = increase_brightness(sharpened, value=10) # 60 ->5qoOk.png #10 -> if8nC.png
|
108 |
|
109 |
|
110 |
+
image = cv2.resize(image, (720,480), interpolation=cv2.INTER_LINEAR)
|
111 |
|
112 |
norm_img = np.zeros((image.shape[0], image.shape[1]))
|
113 |
image = cv2.normalize(image, norm_img, 0, 255, cv2.NORM_MINMAX)
|