qqwjq1981 commited on
Commit
b164a37
·
verified ·
1 Parent(s): 98b9a5b

Update utils/ocr_utils.py

Browse files
Files changed (1) hide show
  1. utils/ocr_utils.py +2 -0
utils/ocr_utils.py CHANGED
@@ -10,6 +10,8 @@ from shapely.geometry import Polygon
10
  from shapely.ops import unary_union
11
  import networkx as nx
12
  from shapely.ops import unary_union
 
 
13
 
14
  ocr_model = PaddleOCR(use_textline_orientation=True, lang='ch')
15
 
 
10
  from shapely.ops import unary_union
11
  import networkx as nx
12
  from shapely.ops import unary_union
13
+ from utils.bubble_detect_rtdetr import polygon_to_mask
14
+
15
 
16
  ocr_model = PaddleOCR(use_textline_orientation=True, lang='ch')
17