Spaces:
Running
Running
Update utils/ocr_utils.py
Browse files- 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 |
|