Soumen commited on
Commit
fdefb94
1 Parent(s): 4372a52

Update line_cor.py

Browse files
Files changed (1) hide show
  1. line_cor.py +1 -0
line_cor.py CHANGED
@@ -25,6 +25,7 @@ def mark_region(im):
25
  cnts = cnts[0] if len(cnts) == 2 else cnts[1]
26
 
27
  line_items_coordinates = []
 
28
  for c in cnts:
29
  area = cv2.contourArea(c)
30
  x,y,w,h = cv2.boundingRect(c)
 
25
  cnts = cnts[0] if len(cnts) == 2 else cnts[1]
26
 
27
  line_items_coordinates = []
28
+ image=None
29
  for c in cnts:
30
  area = cv2.contourArea(c)
31
  x,y,w,h = cv2.boundingRect(c)