Update app.py
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ def extract_line_from_image(image, lower_line, upper_line):
|
|
183 |
|
184 |
return img_copy[lower_boundary:upper_boundary, :]
|
185 |
|
186 |
-
def extract(
|
187 |
-
img = rgb2gray(
|
188 |
print(img)
|
189 |
|
190 |
#img = rgb2gray(imread("Penwritten_2048x.jpeg"))
|
|
|
183 |
|
184 |
return img_copy[lower_boundary:upper_boundary, :]
|
185 |
|
186 |
+
def extract(image1):
|
187 |
+
img = rgb2gray(image1)
|
188 |
print(img)
|
189 |
|
190 |
#img = rgb2gray(imread("Penwritten_2048x.jpeg"))
|