Spaces:
Paused
Paused
Update utils/preprocess.py
Browse files- utils/preprocess.py +1 -1
utils/preprocess.py
CHANGED
|
@@ -117,7 +117,7 @@ def strengthen_lines(binary):
|
|
| 117 |
strengthened = cv2.dilate(
|
| 118 |
binary,
|
| 119 |
kernel,
|
| 120 |
-
iterations=
|
| 121 |
)
|
| 122 |
|
| 123 |
return strengthened
|
|
|
|
| 117 |
strengthened = cv2.dilate(
|
| 118 |
binary,
|
| 119 |
kernel,
|
| 120 |
+
iterations=2
|
| 121 |
)
|
| 122 |
|
| 123 |
return strengthened
|