Update line_cor.py
Browse files- line_cor.py +2 -2
line_cor.py
CHANGED
@@ -8,9 +8,9 @@
|
|
8 |
import cv2
|
9 |
from PIL import Image
|
10 |
|
11 |
-
def mark_region(
|
12 |
|
13 |
-
im = cv2.imread(image_path)
|
14 |
|
15 |
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
|
16 |
blur = cv2.GaussianBlur(gray, (9,9), 0)
|
|
|
8 |
import cv2
|
9 |
from PIL import Image
|
10 |
|
11 |
+
def mark_region(im):
|
12 |
|
13 |
+
#im = cv2.imread(image_path)
|
14 |
|
15 |
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
|
16 |
blur = cv2.GaussianBlur(gray, (9,9), 0)
|